Regex in ctfe?
Pierre Krafft via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jan 27 10:47:59 PST 2016
On Tuesday, 26 January 2016 at 12:47:26 UTC, w0rp wrote:
> Unless I'm mistaken, I think the compiler for regex currently
> works at compile time, but not the matcher. Maybe someone who
> knows the module could add support for that.
That's correct. I looked in to this a while ago and found out
that the matcher uses @trusted code with pointers. Getting
support for ctfe would require a rewrite of most of the matching
engine and would probably result in a rather big performance hit.
More information about the Digitalmars-d
mailing list