Constructor and Description |
---|
RegexUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
neg_lookahead(String r) |
static String |
optional(String r) |
static String |
pos_lookahead(String r) |
static String |
regex_char_neg(List<String> puncs) |
static String |
regex_or_match(List<String> items) |
static String |
regex_or_match(PatternProvider... patterns) |
static String |
regex_or_match(String... items) |
public RegexUtil()
public static String regex_or_match(String... items)
items
- public static String regex_or_match(PatternProvider... patterns)
patterns
- PatternProvider.patternString()
)public static String regex_or_match(List<String> items)
items
- StringUtils.join(java.util.Collection, String)
or
together a list of stringspublic static String regex_char_neg(List<String> puncs)
puncs
- public static String pos_lookahead(String r)
r
- public static String neg_lookahead(String r)
r
-