Mark Weaver wrote:
Is there any documentation on the syntax used by the RegularExpression class? The current API docs don't seem to mention this class at unfortunately.

More specifically my question is if the syntax is the same as that of Javascript's regular expressions (I've done an exslt:regular-expressions implementation for Xalan that currently uses boost::regex, but since Xalan requires Xerces using Xerces' implementation would clearly be more sensible; however the exslt specification requires Javascript syntax).


Xerces-C's implementation is used to implement regular expression support in XML Schema, so you could start there. It's also quite close to the syntax defined by XQuery in the functions and operators:

http://www.w3.org/TR/xquery-operators/#regex-syntax

There is also some documentation from Xerces-J, and Xerces-C's implementation is a port of the Java code from Xerces-J:

http://xerces.apache.org/xerces-j/apiDocs/org/apache/xerces/utils/regex/RegularExpression.html

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to