GitHub user afs opened a pull request:
https://github.com/apache/jena/pull/292
JENA-1403: Tidy up regex pattern handling.
This includes PR#291, and consolidates pattern exceptions into RegexJava.
Full handling with Xerces regexp for "replace" functionality is a lot of
work as Xerces has a separate, parallel set of classes; it is only the "x" flag
that is missing from Java. JDK regex is likely to be faster. JDK has been the
normal setting; Xerces is there for exact spec compliance in REGEX only.
We don't want more Xerces specific dependencies.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/afs/jena jena-1403_replace
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jena/pull/292.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 #292
----
----
---