new FunctionSignature(
new QName("groups", TextModule.NAMESPACE_URI, TextModule.PREFIX),
"Tries to match the string in $text to the regular expression, using " +
"the flags specified. Returns an empty sequence if the string does "+
"not match, or a sequence whose first item is the entire string, and whose " +
<BUG>"following items are the matched groups.",
new SequenceType[] {</BUG>
TEXT_PARAM,
REGEX_PARAM,
FLAGS_PARAM,

new FunctionSignature(
new QName("filter", TextModule.NAMESPACE_URI, TextModule.PREFIX),
"Filter substrings that match the regular expression in the text.",
new SequenceType[]{
TEXT_PARAM,
REGEX_PARAM
