W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > April 2013

RE: [ACTION 496] Allowed Characters regex

From: Pablo Nieto Caride <pablo.nieto@linguaserve.com>
Date: Fri, 26 Apr 2013 11:37:17 +0200
To: "'Yves Savourel'" <ysavourel@enlaso.com>, <public-multilingualweb-lt@w3.org>
Message-ID: <0e6d01ce4261$a431ef80$ec95ce80$@linguaserve.com>
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\\|.?*+(){}\&#x2D;\&#x5B;\&#x5D;\&#x5E;]))|(\[(([^\&#x2D;\&#x5B;\&#x5D;]|(\\[nrt\\|.?*+(){}\&#x2D;\&#x5B;\&#x5D;\&#x5E;]))-([^\&#x2D;\&#x5B;\&#x5D;]|(\\[nrt\\|.?*+(){}\&#x2D;\&#x5B;\&#x5D;\&#x5E;]))|[^\&#x5B;\&#x5D;]|((\\[nrt\\|.?*+(){}\&#x2D;\&#x5B;\&#x5D;\&#x5E;])))+\])|(\.)

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 09:37:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:07 UTC