Defect report from : Paul Eggert , Twin Sun Inc
(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)
@ page 167 line 5889 section 9.1 objection {eggert20020430b}
Problem:
Defect code : 2. Omission
The standard uses the term "subpattern" without providing a
definition. Different assumptions about the meaning of this term have
lead to conflicting interpretations of the definition of "matched"
starting at line 5907.
A formal definition for "subpattern" can resolve the conflict.
This is part of the problem mentioned by Glenn Fowler and David Korn
in an earlier aardvark today
<http://www.opengroup.org/sophocles/show_mail.tpl?source=L&listname=austin-group-l&id=3934>
but with a different action for the definition of "subpattern".
This action differs in that it uses the left-associative rule
specified by the POSIX grammar for regular expressions, instead of the
right-associative rule that is equivalent to the behavior proposed in
the earlier aardvark.
Action:
Add this definition after line 5889.
subpattern
A pattern that is syntactically part of another pattern as indicated
by the grammar. For example, the ERE /ab(cd)*/ has the subpatterns
/ab/, /a/, /b/, /(cd)*/, /(cd)/, /cd/, /c/, and /d/.
|