Re: Character classes

looks good to me.

> On 7,Oct2021, at 7:14 AM, 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 16:38:08 UTC