digitalmars.D.learn - Error on using regex in dmd v2.088.1
- Dharmil Patel (8/8) Feb 02 2020 In my code I am using regex like this:
- Dharmil Patel (4/13) Feb 02 2020 Can someone please help me solve this error?
- Andrea Fontana (5/21) Feb 03 2020 Hi Dharmil!
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
Feb 02 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 instantiatingCan someone please help me solve this error? Thanks Dharmil
Feb 02 2020
On Monday, 3 February 2020 at 07:11:34 UTC, Dharmil Patel wrote:On Monday, 3 February 2020 at 07:03:03 UTC, Dharmil Patel wrote:Hi Dharmil! It works for me using 2.088.1 with docker. Are you sure your installation is ok? AndreaIn 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 instantiatingCan someone please help me solve this error? Thanks Dharmil
Feb 03 2020