java.lang.Object
org.apache.jena.sparql.expr.RegexEngine
- Direct Known Subclasses:
RegexEngine.RegexJava
,RegexEngine.RegexXerces
Encapsulate a specific regular expression systems.
The two provided are the regular expression implement in Apache Xerces (2.11.0)
and the JDK java.util.regex
.
By default java.util.regex
is used. It does not support the "x" flag.
The default is set by symbol ARQ.regexImpl
(comand line arq:regexImpl
)
to either "javaRegex" or "xercesRegex".
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RegexEngine
static int
static Pattern
makePattern
(String label, String patternStr, String flags) abstract boolean
static void
setRegexImpl
(RegexEngine.RegexImpl valRegexImpl) For testing
-
Constructor Details
-
RegexEngine
public RegexEngine()
-
-
Method Details
-
match
-
setRegexImpl
For testing -
makePattern
-
makeMask
-
create
-