public class RECompiler extends Object
REMatcher| Constructor and Description | 
|---|
RECompiler()
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
REProgram | 
compile(UnicodeString pattern)
Compiles a regular expression pattern into a program runnable by the pattern
 matcher class 'RE'. 
 | 
List<String> | 
getWarnings()
On completion of compilation, get any warnings that were generated 
 | 
void | 
setFlags(REFlags flags)
Set the regular expression flags to be used 
 | 
public RECompiler()
public void setFlags(REFlags flags)
flags - the regular expression flagspublic List<String> getWarnings()
public REProgram compile(UnicodeString pattern) throws RESyntaxException
pattern - Regular expression pattern to compile (see RECompiler class
                for details).RESyntaxException - Thrown if the regular expression has invalid syntax.RECompiler, 
REMatcherCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.