At the moment only a few parts of the std.regex can be used at compile time. Ideally all of this library should be made available.
Comment #1 by dmitry.olsh — 2014-05-01T07:26:18Z
Need specifics. You mean match/replace/splitter?
Comment #2 by monarchdodra — 2014-05-01T10:14:03Z
(In reply to Dmitry Olshansky from comment #1)
> Need specifics. You mean match/replace/splitter?
I think he means that basically, any function that uses run-time regex, should still be evaluable in a CTFE context.
Comment #3 by jbinero — 2014-05-01T11:38:26Z
Right now you can do much more at compile time then making a regex object. You should be able to actually use the object as well, either through specific functions or though the ones being used now at runtime.
Comment #4 by dmitry.olsh — 2017-08-25T10:18:39Z
*** Issue 17070 has been marked as a duplicate of this issue. ***
Comment #5 by snarwin+bugzilla — 2021-08-22T16:30:54Z
*** Issue 21405 has been marked as a duplicate of this issue. ***
Comment #6 by robert.schadek — 2024-12-01T16:21:04Z