[Issue 1466] New: Spec claims maximal munch technique alwaysworks: not for "1..3"

Jascha Wetzel "[firstname]" at mainia.de
Mon Sep 3 04:13:26 PDT 2007


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.


More information about the Digitalmars-d-bugs mailing list