[Bug 1922] 'x' regex flag not entirely clear

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1922





------- Additional Comments From mike@saxonica.com  2005-09-13 21:58 -------
Actually, I don't believe our syntax allows backslash to be followed by a
whitespace character. There's little point in preserving the whitespace
character if it's illegal, so I suggest we strip it.

A character class (charClass) is either a charClassExpr or a charClassEsc. Since
charClassEsc embraces things like \P{IsCombiningDiacriticalMarks} I think that
it's only within a Character Class Expression (charClassExpr) that you wanted
whitespace to be preserved.

Michael Kay

Received on Tuesday, 13 September 2005 21:58:49 UTC