Bug 12687 – std.regex must be made available at compile time

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-04-30T19:09:47Z
Last change time
2024-12-01T16:21:04Z
Assigned to
Dmitry Olshansky
Creator
Jeroen Bollen
Moved to GitHub: phobos#10052 →

Comments

Comment #0 by jbinero — 2014-04-30T19:09:47Z
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
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10052 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB