RE: [ACTION 496] Allowed Characters regex

Thanks Pablo.
-ys

-----Original Message-----
From: Pablo Nieto Caride [mailto:pablo.nieto@linguaserve.com] 
Sent: Friday, April 26, 2013 3:37 AM
To: Yves Savourel; public-multilingualweb-lt@w3.org
Subject: RE: [ACTION 496] Allowed Characters regex

Hi Yves, all,

The updated ABNF is correct, sorry for not being aware that MultiCharEsc wasn't compatible with some engines.

The text and the examples seem good to me.

The updated regex in case you need it is:
XML:
((\\[nrt\\|.?*+(){}\-\[\]\^]))|(\[(([^\-\[\]]|(\\[nrt\\|.?*+(){}\-\[\]\^]))-([^\-\[\]]|(\\[nrt\\|.?*+(){}\-\[\]\^]))|[^\[\]]|((\\[nrt\\|.?*+(){}\-\[\]\^])))+\])|(\.)

Java:
((\\\\[nrt\\\\|.?*+(){}\\u002D\\\u005B\\u005D\\u005E]))|(\\[(([^\\u002D\\u005B\\u005D]|(\\\\[nrt\\\\|.?*+(){}\\u002D\\\u005B\\u005D\\u005E]))-([^\\u002D\\u005B\\u005D]|(\\\\[nrt\\\\|.?*+(){}\\u002D\\\u005B\\u005D\\u005E]))|[^\\u005B\\u005D]|((\\\\[nrt\\\\|.?*+(){}\\u002D\\\u005B\\u005D\\u005E])))+\\])|(\\.)

Cheers,
Pablo.
-----------------------------------------------------------------------------------------------

Hi everyone,

I've updated the draft specification with the new regular expression definition, as well as the examples:
http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#allowedchars

I did removed allowance for the \d and \D constructs.
(I can edit things again if needed)

Thanks,
-yves

Received on Friday, 26 April 2013 13:36:10 UTC