This should resolve #22. This was caused by an error in the regex, where the character set !#$%&'*+-/=?^_`{|}~ was put into the regex but the - character wasn't escaped, instead causing it to be the range of characters between + and /, which includes ,.
Screenshot from RegExr:
Since - is already included as a character, I've removed it between + and / and the test now passes.
This should resolve #22. This was caused by an error in the regex, where the character set
!#$%&'*+-/=?^_`{|}~
was put into the regex but the-
character wasn't escaped, instead causing it to be the range of characters between+
and/
, which includes,
.Screenshot from RegExr:
Since
-
is already included as a character, I've removed it between+
and/
and the test now passes.