W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2015

[Bug 29253] [XQ3TS] fn-matches-50

From: <bugzilla@jessica.w3.org>
Date: Wed, 04 Nov 2015 10:39:20 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29253-523-KO0o6YmMff@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29253

--- Comment #2 from Tim Mills <tim@cbcl.co.uk> ---
I think the main difference between implementations is whether in a regex such
as:

(.)?a\1

when the "zero case" of the ? quantifier is matched, whether \1 is unbound (and
therefore can never match anything) or \1 is bound to the empty string.  I
think in F&O, it's explicitly the case that \1 is bound to the empty string.

e.g. in the online tool, try

a(.)?

matching

a

It reports "No match groups were extracted.".

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 4 November 2015 10:39:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 4 November 2015 10:39:23 UTC