public class RECompiler extends Object
RE| Constructor and Description |
|---|
RECompiler()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
REProgram |
compile(String pattern)
Compiles a regular expression pattern into a program runnable by the pattern matcher class 'RE'.
|
public RECompiler()
public REProgram compile(String pattern) throws RESyntaxException
pattern - Regular expression pattern to compile (see RECompiler class for details).RESyntaxException - Thrown if the regular expression has invalid syntax.RECompiler,
RE