std.regex.RegexException@/usr/include/dmd/phobos/std/regex.d(1942): wrong CodepointSet Pattern with error: `[ 0-9a-zA-Z.*=+-;()"'[]` <--HERE-- `<>,{}^#/\\]`

(Entire error here: http://pastebin.com/Su9XzbXW)

You need to put \ in front of [ or ] if you want to match those two characters. The relevant part of std.regex documentation:

\c where c is one of [|*+?()    Matches the character c itself.

Reply via email to