compile-time regex redux

Walter Bright newshound at digitalmars.com
Wed Feb 7 00:53:37 PST 2007


Robby wrote:
> What version of regex would be the target? There's a few variations out 
> there.

The version would behave identically to the D runtime library 
std.regexp, for consistency's sake. (And that version is compatible with 
Javascript v3.)

> Probably a couple of green questions, what is the benefit of having a 
> compile time regex implementation over a "really fast" implementation? 
> Or having the expression compiled and the string allowed runtime?

The need is for compile time, not runtime, manipulation of string literals.



More information about the Digitalmars-d mailing list