public final class RegexTester extends Object
java -cp target/java -cp target/sitetest.jar \\
us.johnmeyer.utilities.RegexTester [string] [pattern]
test-regex.sh
:
test-regex "[string]" "[pattern]"
Modifier | Constructor and Description |
---|---|
private |
RegexTester()
Utility classes should not have a default constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Accepts string and pattern arguments; prints
true if match; if no match prints false.
|
private RegexTester()
public static void main(String[] args)
args
- Argument list -- use string and pattern.Copyright © 2018. All rights reserved.