[Bug 12555] New: The informative note has contents that should be clearer in the normative text. Namely, a regular expression with alternate branches (a|ab) will match the string 'ab' in a more "greedy" way if compiled as the informative note suggests. As-is, implementat

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12555

           Summary: The informative note has contents that should be
                    clearer in the normative text. Namely, a regular
                    expression with alternate branches (a|ab) will match
                    the string 'ab' in a more "greedy" way if compiled as
                    the informative note suggests.  As-is, implementat
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#the
                    -pattern-attribute
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Specification:
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html
Section:
http://www.whatwg.org/specs/web-apps/current-work/#the-pattern-attribute

Comment:
The informative note has contents that should be clearer in the normative
text. Namely, a regular expression with alternate branches (a|ab) will match
the string 'ab' in a more "greedy" way if compiled as the informative note
suggests.  As-is, implementations that follow the normative text will be
incompatible with implementations that also take the informative note into
account for the <input value="ab" pattern="(a|ab)"> case.

Posted from: 218.120.54.137
User agent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.9.119 Version/11.10

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 26 April 2011 07:41:26 UTC