[Issue 1466] New: Spec claims maximal munch technique alwaysworks:not for "1..3"
BCS
ao at pathlink.com
Mon Sep 3 07:46:23 PDT 2007
Reply to Jascha,
> BCS wrote:
>
>> For that to work the lexer has to keep track of whitespace. :-b
>>
> you can also match "(!is)[^_a-zA-Z0-9]", advancing the input only for
> the submatch. or use a single-character lookahead.
>
That's what I'm hoping to do sooner or later. I already do somthing like
that for ".." vs "."
More information about the Digitalmars-d-bugs
mailing list