- From: Ashok Malhotra <ashok.malhotra@oracle.com>
- Date: Sun, 15 Jan 2006 11:33:39 -0800
- To: Bjoern Hoehrmann <derhoermi@gmx.net>, public-qt-comments@w3.org
Bjoern: I have added your comment to Bugzilla. In the future, please enter bugs/comments directly into bugzilla: http://www.w3.org/Bugs/Public/ Product: XPath/XQuery/XSLT Component: Functions and Operators Version: Last Call Drafts All the best, Ashok > -----Original Message----- > From: public-qt-comments-request@w3.org > [mailto:public-qt-comments-request@w3.org] On Behalf Of > Bjoern Hoehrmann > Sent: Saturday, January 14, 2006 7:12 AM > To: public-qt-comments@w3.org > Subject: F&O: Non-capturing sub-expressions > > > Dear XML Query Working Group, > Dear XSL Working Group, > > http://www.w3.org/TR/2005/CR-xpath-functions-20051103/ > extends the semantics of the regular expressions defined in > XML Schema 1.0 to allow for capture buffers; I would like to > re-use regular expressions as de- fined in the candidate > recommendation in a DTLL-like format, but an imporant > requirement is automatic assignment of names for the captured > substrings based on the index number of the parenthesized > sub-expression as defined in the technical report. > > This is not feasible however with the current syntax as it > does not allow non-capturing sub-expressions, so I would have > to further extend the format which makes sharing of regular > expressions and regex engines difficult. In fact, in order to > re-use regular expressions as found on many web sites and > programs, and as produced by many tools, one would first have > to re-write them to fit into this model. > > I thus think the regular expression syntax should further be > extended to allow for non-capturing sub-expressions using a > syntax like (?:...) as is available in most other regular > expression formats. > > regards, > -- > Björn Höhrmann · mailto:bjoern@hoehrmann.de · > http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: > +49(0)621/4309674 · http://www.bjoernsworld.de > 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · > http://www.websitedev.de/ > > >
Received on Sunday, 15 January 2006 19:34:13 UTC