W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2005

[Bug 2279] [F&O] anchors omitted from BNF for regular expressions

From: <bugzilla@wiggum.w3.org>
Date: Wed, 21 Sep 2005 19:34:33 +0000
To: public-qt-comments@w3.org
Message-Id: <E1EIAMT-00040I-2e@wiggum.w3.org>


           Summary: [F&O] anchors omitted from BNF for regular expressions
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: fred.zemke@oracle.com
         QAContact: public-qt-comments@w3.org

Section 7.6.1 "Regular expression syntax" says that two metacharacters,
'^' and '$' are added, and it alters XML Schema part 2 rule [10] to
list these metacharacters.  However, this serves only to exclude 
'^' and '$' as normal characters (and thereby create escapes for them)
but it does not make them part of the regular expression syntax.
Using the modified rules of XML Schema part 2, there is no way to 
derive that, for example, '^abc' is a regular expression.  I think 
the anchors are supposed to enter the regular expression rules at
the precedence level of rule [9] atom.  Probably a modification of 
this rule is needed.
Received on Wednesday, 21 September 2005 19:37:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:08 UTC