public final class PatternUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ALL
The regular expression matching all input.
|
static Pattern |
ALL_PATTERN
The pattern for the regular expression matching all input.
|
public static final String ALL
public static final Pattern ALL_PATTERN
public static Pattern toPattern(String regex) throws PatternSyntaxException
Pattern
.regex
- The regular expression to convert.Pattern
for the regular expression.PatternSyntaxException
- If the expression's syntax is invalid.Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.