Re: Line/string triage?

Fredrik Öhrström <oehrstroem@gmail.com> writes:
> I see another nice use case for a not construct:
>
> identifier: [L]+, ![L].
>
> This would be useful to terminate an identifier only at the end of the string of letters. The ![L]+ will not match anything, it will not generate any DOM/xml. It merely checks the next character.

That feels like it would be a significant departure from the current semantics where I would expect ![L] to match and consume one non-letter character.

                                        Be seeing you,
                                          norm

--
Norm Tovey-Walsh
Saxonica

Received on Saturday, 22 March 2025 07:47:12 UTC