ARegularExpression re = new ARegularExpression(pat.getStringValueCS(), flags.toString(), "XP20", null);
return BooleanValue.get(re.containsMatch(sv0.getStringValue()));
} catch (XPathException err) {
XPathException de = new XPathException(err);
de.maybeSetErrorCode("FORX0002");
de.setXPathContext(c);
throw de;
}
}