- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 12 Jun 2007 09:00:19 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4610 ------- Comment #2 from frans.englich@telia.com 2007-06-12 09:00 ------- (I think the tests are slightly different. K2-ReplaceFunc-3 has a back reference before the corresponding paranthesis, while K2-MatchesFunc-*'s back references have no corresponding paranthesis at all.) I agree that raising FORX0002 makes sense from a usability perspective(although my knowledge in regexps is brief) and that the spec says so; "The closing right parenthesis of this subexpression must occur before the back-reference." Though, I remember discussing this with Mike and we came to the conclusion that back references that didn't match, matched the empty string: "If no string is matched by the nth capturing subexpression, the back-reference is interpreted as matching a zero-length string." I failed to find the mail trails from the discussion; Mike, what's your thoughts on this topic? I'm currently inclined to change the mentioned tests to FORX0002.
Received on Tuesday, 12 June 2007 09:00:21 UTC