Where do you test syntax of D regexp online?

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 9 07:17:21 PST 2017


> I would use dpaste and write a quick script but here is where I 
> think your problem is:
>
> regex("/.*/g")
>
> It should be:
>
> regex(".*", "g")
>
> As per[0].
>
> [0] http://dlang.org/phobos/std_regex.html#.regex

Sorry, but what regexp are you talking? There is nothing like: 
`regex("/.*/g")` in my code...



More information about the Digitalmars-d-learn mailing list