- From: Norm Tovey-Walsh <norm@saxonica.com>
- Date: Sat, 04 Nov 2023 16:12:45 +0000
- To: "C. M. Sperberg-McQueen" <cmsmcq@blackmesatech.com>
- Cc: public-ixml@w3.org
Received on Saturday, 4 November 2023 16:13:29 UTC
"C. M. Sperberg-McQueen" <cmsmcq@blackmesatech.com> writes:
> Norm Tovey-Walsh <norm@saxonica.com> writes:
>
>> ... The interesting part is the easy-to-overlook error. ...
>
>> Here’s a hint. It’s in this rule: comment = -'{', ~[{}]*, -'}'.
>> ...
>> That middle bit is a exclusion that contains an empty comment, not an
>> exclusion that excludes ‘{‘ and ‘}’.
>
> Good eye! I confess that I didn't find the error until after you told
> me which rule to focus on.
I only found it because the optimizer I’m trying to work on attempted to
construct a regular expression for ~[] and failed.
Be seeing you,
norm
--
Norm Tovey-Walsh
Saxonica
Received on Saturday, 4 November 2023 16:13:29 UTC