W3C home > Mailing lists > Public > public-ixml@w3.org > October 2021

Re: Character classes

From: Tom Hillman <tom@expertml.com>
Date: Thu, 7 Oct 2021 14:15:44 +0100
To: ixml <public-ixml@w3.org>, Steven Pemberton <steven.pemberton@cwi.nl>
Message-ID: <3d8ab71a-dbd3-4f34-b1c6-c0c6aae848e7@Spark>
Yes, makes sense to me.

_________________
Tomos Hillman
eXpertML Ltd
+44 7793 242058
On 7 Oct 2021, 14:14 +0100, Steven Pemberton <steven.pemberton@cwi.nl>, wrote:
> Reviewing the spec (while writing my ixml tutorial for the Declarative
> Amsterdam conference [https://declarative.amsterdam])
> I note that character classes as defined in Unicode
> [https://unicode.org/reports/tr44/#General_Category_Values]
> consist of an uppercase letter optionally followed by a lowercase letter.
>
> The ixml spec currently has
>
> class: code, S.
> @code: letter, letter.
> -letter: ["a"-"z"; "A"-"Z"].
>
> So I propose we just match Unicode, and use:
>
> class: @code, S.
> code: upper, lower?.
> -upper: ["A"-"Z"].
> -lower: ["a"-"z"].
>
> Agree?
>
> Steven
>
>
Received on Thursday, 7 October 2021 13:16:11 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 13 September 2022 10:02:05 UTC