if (getLogger().isDebugEnabled())
getLogger().debug(
"String parameter " + name + " should match regexp \"" + regex + "\"");
try {
RE r = new RE(regex);
if (!r.match(value)) {
if (getLogger().isDebugEnabled())
getLogger().debug("and it does not match");
return new ValidatorActionHelper(value, ValidatorActionResult.NOMATCH);
}
} catch (RESyntaxException rese) {