Fixed docstring: It isn't clear what "regexp" you mean here. It's an attribute in the XML.