Error on using regex in dmd v2.088.1

Dharmil Patel pdharmil706 at gmail.com
Mon Feb 3 07:11:34 UTC 2020


On Monday, 3 February 2020 at 07:03:03 UTC, Dharmil Patel wrote:
> In my code I am using regex like this:
>
>        auto rgxComma = regex(r",");
>
> On compiling with dmd v2.076.1, it compiles successfully, but 
> on compiling with dmd v2.088.1, I am getting lots of errors 
> like:
>
> /src/phobos/std/regex/internal/thompson.d-mixin-836(837): 
> Error: template instance 
> std.regex.internal.thompson.ThompsonOps!(EngineType!(char, 
> Input!char), State, true).op!cast(IR)164u error instantiating

Can someone please help me solve this error?

Thanks
Dharmil


More information about the Digitalmars-d-learn mailing list