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
Thanks for pointing me to PR #399. I initially misunderstood issue #397, thinking it was language-specific. After taking a closer look, I see that it addresses the same Character Range Issues I mentioned in my issue. Having reviewed PR #399, I can confirm that its implementation would indeed solve the Character Range Issues portion of my issue. I appreciate you making this connection.
🆒 Character Range Issues
charIn('1-9')
/[1\-9]/
/[1-9]/
charIn('123456789')
/[123456789]/
/[1-9]/
charIn('1-9')
/[1-9]/
Whitespace Character Class Issues
\s
in StringcharIn('abc\\s')
/[abc\\s]/
/[abc\s]/
charIn('abc').or(whitespace)
/(?:[abc]|\s)/
/[abc\s]/
charIn('abc\\s')
/[abc\s]/
charIn('abc${whitespace}')
/[abc\s]/
Complex Lookbehind or lookahead Structure Issues
exactly('').after(anyOf(exactly('').at.lineStart(), charIn('-_(:'))
/(?<=(?:^|[\-_(:]))/
/(?<=(?:^|[-_(:]))/
after(anyOf(lineStart, charIn('-_(:'))
/(?<=(?:^|[-_(:]))/
ℹ️ Additional info
Character Range Interpretation:
'1-9'
literally as the characters "1", "-", and "9" instead of the range from 1 to 9Escaped Character Handling:
\\s
in strings are not correctly translated to regex character classesSuggested Improvements
charIn()
:-
between two characters should create a rangelineStart
,after
)The text was updated successfully, but these errors were encountered: