On 11/05/2016 06:04 AM, Soulsbane wrote: > On Monday, 31 October 2016 at 01:27:08 UTC, Martin Nowak wrote: >> Glad to announce D 2.072.0. >> >> http://dlang.org/changelog/2.072.0.html >> >> -Martin > > I've run into a problem with code using ctRegex that fails to compile > only in release build.
Can't reproduce:
$ cat sample.d
unittest
{
import std.regex;
static immutable TOC_LINE_PATTERN =
`#{1,}\s*(?P<key>.*):\s*(?P<value>.*)`;
auto linePattern = ctRegex!(TOC_LINE_PATTERN);
}
$ dmd-dev -release -O -inline -unittest -main -run sample.d
Can you provide more details?
signature.asc
Description: OpenPGP digital signature
