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

Perform XML unescaping of the regex strings #27

Closed
carlomorelli opened this issue Jan 18, 2023 · 0 comments · Fixed by #30
Closed

Perform XML unescaping of the regex strings #27

carlomorelli opened this issue Jan 18, 2023 · 0 comments · Fixed by #30
Labels
bug Something isn't working

Comments

@carlomorelli
Copy link
Owner

Users (as in #25) may provide regexes with non-valid XML symbols such as the Negative Lookbehind ?<!. String like these need to be inputted with XML escaping (sticking with the example, it should be input as ?&lt;!). In the code, we need to handle the unescaping before building the Pattern object.

@carlomorelli carlomorelli added the bug Something isn't working label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant