dmd 2.058 win7-64 void wcp (string fn) { enum ctr = ctRegex!("\p{WhiteSpace}","m"); } ------ Build started: Project: a7, Configuration: Release Win32 ------ Building Release\a7.exe... a7.d(210): undefined escape sequence \p
It's jsut wrong bug report, D string literal as C one do have escaping of their own, use raw string literals or double escape \\. It's dmd lexer that complains here btw.