python-string-utils icon indicating copy to clipboard operation
python-string-utils copied to clipboard

fix: return False for empty string in is_email()

Open RequiemBit opened this issue 7 months ago • 0 comments

  • Closes #18
  • Empty string should not be considered a valid email.
  • Added explicit if input_string == "": return False guard in is_email().
  • Added unit test to prevent regression.
  • All existing tests still pass.

RequiemBit avatar Jul 13 '25 04:07 RequiemBit