- From: <bugzilla@jessica.w3.org>
- Date: Tue, 29 Nov 2011 12:36:11 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14994
Summary: [QT3] analyzeString-012, analyzeString-018
Product: XPath / XQuery / XSLT
Version: Member-only Editors Drafts
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: XQuery 3 & XPath 3 Test Suite
AssignedTo: benjie.nguyen@gmail.com
ReportedBy: tim@cbcl.co.uk
QAContact: public-qt-comments@w3.org
I'm surprised by the expected results for these tests.
In each case it appears that the captured subgroup only contains the last
occurrence of the subexpression being matched.
i.e. For
analyze-string("how now brown cow", "(.*?ow\s+)+", "")
captured subgroup 1 = "now ", and not "how now ".
For
analyze-string("banana", "(?:b(an)*a)")
captured subgroup 1 = "an", and not "anan".
Is this correct?
--
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, 29 November 2011 12:36:19 UTC