RegEx for a simple Lexer

Ary Borenszweig via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 13 16:49:09 PDT 2014


On 5/13/14, 5:43 PM, anonymous wrote:
> On Tuesday, 13 May 2014 at 19:53:17 UTC, Tim Holzschuh via
> Digitalmars-d-learn wrote:
>> If I also want to create a RegEx to filter string-expressions a la "
>> xyz ", how would I do this?
>>
>> At least match( src, r"^\" (.*) $\" " ); doesn't seem to work and I
>> couldn't find in the Library Reference how to change it..

I think he's confusing r"..." with a regular expression literal (I also 
confused them)



More information about the Digitalmars-d-learn mailing list