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

RE: [ACTION 496] Allowed Characters regex

From: Yves Savourel <ysavourel@enlaso.com>
Date: Mon, 29 Apr 2013 04:32:03 -0600
To: <public-multilingualweb-lt@w3.org>
Message-ID: <010801ce44c4$ca867010$5f935030$@com>
Hi Pablo, all,

>> [^&lt;>:&quot;\\/|\?*]
>
> [PNC]: Yes, the first regex is wrong, the penultimate square bracket 
> should be escaped [^&lt;>:&quot;\\/|\?*\]], anyway the second 
> one is valid.

The dangling ']' was just a remain of the previous expression (']' is allowed in filenames).
Felix: Thanks for the missing file. I've updated the specification:
http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#allowedchars


>> At Pablo, Yves, Jirka, all: would it be ok to add the two updated regex 
>> to the spec directory, with a non-normative note like this below the EBNF:
>>
>> "Users may want to use a regular expression to make sure that they follow above 
>> definition. Sample regular expressions to verify the regular expression in 
>> allowed characters are provided: for XML and for Java."
>
> [PNC]: Sounds like a good idea.

Sounds good.

-ys
Received on Monday, 29 April 2013 12:11:43 UTC

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