Skip to content

fix: ignore stateful regex flags#85

Merged
43081j merged 2 commits intomainfrom
regex-tomfoolery
Mar 21, 2026
Merged

fix: ignore stateful regex flags#85
43081j merged 2 commits intomainfrom
regex-tomfoolery

Conversation

@43081j
Copy link
Copy Markdown
Contributor

@43081j 43081j commented Mar 21, 2026

This ignores g and y flags since they create stateful regular
expressions.

Fixes #70

43081j added 2 commits March 21, 2026 05:12
This ignores `g` and `y` flags since they create stateful regular
expressions.
@43081j 43081j merged commit c499c4b into main Mar 21, 2026
3 checks passed
@43081j 43081j deleted the regex-tomfoolery branch March 21, 2026 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

e18e/prefer-static-regex: regex with /g are stateful so this could cause issues

1 participant