Skip to content

Java regex COMMENTS (x) flag#1614

Open
lmasroca wants to merge 9 commits into
masterfrom
regex-java-flag-x
Open

Java regex COMMENTS (x) flag#1614
lmasroca wants to merge 9 commits into
masterfrom
regex-java-flag-x

Conversation

@lmasroca

Copy link
Copy Markdown
Collaborator

Added support for Java regex COMMENTS (x) flag, this flag strips white space and comments (e.g.: #this is a comment\n) from the regex. This is done by pre-processing the regex string. Comments are started by the # character and end on line terminators.

@lmasroca lmasroca requested a review from jgaleotti June 29, 2026 00:55
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.

1 participant