http://www.w3.org/Bugs/Public/show_bug.cgi?id=4106 ------- Comment #2 from abel.online@xs4all.nl 2006-12-22 10:59 ------- Considering the construct (low)[\1] and taken the current specs, one might be tempted to treat it as matching the string "low" followed by any of the characters in the that string: [low] (expanded backreference). Taken the string: helloworld then the regular expression would: not match: "hel" match: "lowo" not match: "rld" This could be a potentially very powerful construct, but I for one have not encountered it in any regular expression flavor (yet). For regular expression engines, it may involve a lot of re-engineering to allow for expandable character classes. A better approach would be, I believe, to disallow the construct in its entirety.Received on Friday, 22 December 2006 10:59:43 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:18 GMT