Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update replace filter to support non-capturing groups in regex #339

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

odebroqueville
Copy link

Non-capturing groups are defined by: (?:...)

The colon was being used as a splitter and breaking the non-capturing group in the replace regex.

This has been fixed by preventing a split if the colon is preceded by (?

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