Where do you test syntax of D regexp online?

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 9 08:14:28 PST 2017


Adding "r" helped:

auto bigCodeBlock = regex(r"`{3}[\s\S]*?`{3}");

But now output is:
[["```\r\nvoid foo()\r\n{\r\n\twriteln(\"ppp\");\r\n}\r\n```"]]

But I do not \r\n\ symbols...


More information about the Digitalmars-d-learn mailing list