GitHub user JervenBolleman opened a pull request:
https://github.com/apache/jena/pull/291
Bad regular expression patterns should throw ExprEvalException
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/JervenBolleman/jena master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jena/pull/291.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #291
----
commit fb1a171323a504c96713e3be6cc4f59e02e43629
Author: Jerven Bolleman <[email protected]>
Date: 2017-10-23T09:30:15Z
Bad regular expression patterns should throw ExprEvalException instead of
PatternSyntaxException
----
---