python-string-utils
python-string-utils copied to clipboard
fix: return False for empty string in is_email()
- Closes #18
- Empty string should not be considered a valid email.
- Added explicit
if input_string == "": return Falseguard inis_email(). - Added unit test to prevent regression.
- All existing tests still pass.