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
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RegexEnginestatic intstatic PatternmakePattern(String label, String patternStr, String flags) abstract booleanstatic voidsetRegexImpl(RegexEngine.RegexImpl valRegexImpl) For testing
-
Constructor Details
-
RegexEngine
public RegexEngine()
-
-
Method Details
-
match
-
setRegexImpl
For testing -
makePattern
-
makeMask
-
create
-