net.sourceforge.cobertura.util
public abstract class RegexUtil extends Object
| Field Summary | |
|---|---|
| static Logger | logger |
| static Perl5Matcher | pm |
| Method Summary | |
|---|---|
| static void | addRegex(Collection list, String regex) |
| static boolean | matches(Collection regexs, String str) Check to see if one of the regular expressions in a collection match an input string. |
Check to see if one of the regular expressions in a collection match an input string.
Parameters: regexs The collection of regular expressions. str The string to check for a match.
Returns: True if a match is found.