[Bug 29407] [QT3] analyze-string-008, analyzeString-017a, nested grouping

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