On Thursday, 9 March 2017 at 15:22:00 UTC, rikki cattermole wrote:
On 10/03/2017 4:17 AM, Suliman wrote:
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...
Yes there was:
auto bigCodeBlock = regex("/`{3}[\\s\\S]*?`{3}/g");
I still can't get it work in real code :(