Regex in ctfe?
Stefan Koch via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jan 26 03:46:51 PST 2016
On Tuesday, 26 January 2016 at 11:35:24 UTC, Era Scarecrow wrote:
> On Tuesday, 26 January 2016 at 05:10:58 UTC, Manu wrote:
>> I thought DMD was fully converted to D? The compiler could
>> make use of std.regex if it wanted to...
>
> My experience is at least a year or two out of date; One of
> the DConf2015 talks someone was working on a C++ to D
> converter, and planned to swap over from C++ to D once it was
> complete enough. If that already happened, i was unaware of it.
Yes the swap happend. In a recent git checkout you will have the
cpp files and the .d files side by side.
matching regex at ctfe should work with a bit of modification.
More information about the Digitalmars-d
mailing list