You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes character classes fail unexpectedly. I noticed this when a double-quoted string had a pattern like "a1", but it didn't fail on "1a".
It turns out this is because the CharacterClass scanner for the machine parsers checks each range with a loop index, but it doesn't reset this index for the next character.
The text was updated successfully, but these errors were encountered:
Sometimes character classes fail unexpectedly. I noticed this when a double-quoted string had a pattern like
"a1"
, but it didn't fail on"1a"
.It turns out this is because the CharacterClass scanner for the machine parsers checks each range with a loop index, but it doesn't reset this index for the next character.
The text was updated successfully, but these errors were encountered: