Re: Line/string triage?

>> 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.

Anchoring (matching without consuming) does feel different, but don’t we already have ~[L] to match and consume one non-letter character. 

Received on Saturday, 22 March 2025 08:34:48 UTC