W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2005

[Bug 1850] [F&O] how do ranges work in case-insensitive mode?

From: <bugzilla@wiggum.w3.org>
Date: Wed, 14 Sep 2005 21:28:26 +0000
To: public-qt-comments@w3.org
Message-Id: <E1EFenq-0005xf-Hn@wiggum.w3.org>


------- Additional Comments From davidc@nag.co.uk  2005-09-14 21:28 -------
Both of the recent proposals have had the example

  For example, "[A-Z]" expands to "[A-Za-z]". 

But I think that they would (both) imply


If my understanding of the proposals (and
is correct.

Both of these are listed as Common case mappings
212A; C; 006B; # KELVIN SIGN

Actually I'm fairly sure that the proposals imply that
[a-z] expands to [A-Za-z&#x017F;&#x212A;]
(as toLowercase() maps KELVIN SIGN to k)


in the case of  the actual example [A-Z] it depends on the intended meaning of:

   one character is considered to be a *case-variant* of another character
   if there is a default case mapping between the two characters as defined in
   section 3.13 of [The Unicode Standard]. 

There is no case mapping of KELVIN sign into the range A-Z, only into the range
a-z. However it would be pretty strange if [a-z] and [A-Z] did not denote the
same set if i is set, so perhaps a "case variant" needs to be defined such that
two characters are case variants if there are default unicode case mappings that
map the characters to the same character, so K and KELVIN SIGN would be case
variants as they both lower case to k.
Received on Wednesday, 14 September 2005 21:28:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:08 UTC