DMD 1.021 and 2.004 releases
Walter Bright
newshound1 at digitalmars.com
Mon Sep 10 14:58:14 PDT 2007
Kirk McDonald wrote:
> Walter Bright wrote:
>> The more unusual feature is the token delimited strings.
>
> Which, since there's no nesting going on, are actually very easy to
> match. The Pygments lexer matches them with the following regex:
>
> q"([a-zA-Z_]\w*)\n.*?\n\1"
I meant the:
q{ these must be valid D tokens { and brackets nest } /* ignore this }
*/ };
More information about the Digitalmars-d-announce
mailing list