public class RETest extends Object
java gnu.regexp.util.RETest [regExp] [inputString]
The test function will report the package version number, whether the expression matches the input string, what the match it found was, and the contents of any subexpressions, if applicable.
You may optionally add a third integer argument which is the number of times to repeat the test. When this option is used, RETest will report average compile and match times.
Modifier | Constructor and Description |
---|---|
private |
RETest() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] argv)
Invokes the test function with the command line arguments specified.
|
private RETest()
public static void main(String[] argv) throws REException
argv
- The command line arguments.REException
- There was an error compiling or executing the regular expression.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses