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

Bad regular expression patterns should throw ExprEvalException #291

Closed
wants to merge 1 commit into from

Conversation

JervenBolleman
Copy link
Contributor

instead of PatternSyntaxException

This is a minimal patch that throws and ExprEvalException when given bad regular expressions in str replace.

Per internal SIB policies I am authorized to make small patches such as this available under the Apache v2 license.

@afs
Copy link
Member

afs commented Oct 23, 2017

JENA-1403

@rvesse
Copy link
Member

rvesse commented Oct 23, 2017

LGTM +1

@JervenBolleman
Copy link
Contributor Author

@afs @rvesse thanks for improving the patch looking forward to see it in a production release (hopefully 3.5). The JENA-1403 pull request includes this one so I will close this one

@afs
Copy link
Member

afs commented Oct 23, 2017

PR#292 includes this - I pulled it so the commit here is in the commits for #292. Should be in 3.5.0.

@JervenBolleman Thanks for closing.

asfgit pushed a commit that referenced this pull request Oct 23, 2017
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.

None yet

3 participants