Where do you test syntax of D regexp online?

rikki cattermole via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 9 08:23:47 PST 2017


On 10/03/2017 5:14 AM, Suliman wrote:
> 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...

\r\n is Windows new line characters.


More information about the Digitalmars-d-learn mailing list