public class RECompiler
extends java.lang.Object
RE| Constructor and Description |
|---|
RECompiler()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
REProgram |
compile(java.lang.String pattern)
Compiles a regular expression pattern into a program runnable by the pattern matcher class 'RE'.
|
public RECompiler()
public REProgram compile(java.lang.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