- From: <bugzilla@jessica.w3.org>
- Date: Sun, 31 Jan 2016 10:13:41 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29407
Michael Kay <mike@saxonica.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mike@saxonica.com
--- Comment #2 from Michael Kay <mike@saxonica.com> ---
The string value of the XML that results from analyze-string is always the
original input string; the function essentially takes the original string and
adds markup to show the way in which the regex was (or wasn't) matched. I think
the spec makes this clear. Your proposed result doesn't have this property.
You say that "the current result assumes that "n" is not part of group 1".
That's not the case. The current result is
<fn:match><fn:group nr="1">a<fn:group nr="2">n</fn:group></fn:group></fn:match>
which shows that the "n" is part of both groups 1 and 2 - the groups are
nested.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Sunday, 31 January 2016 10:13:43 UTC