Would there be interest in a SERIOUS compile-time regex parser?

Georg Wrede georg.wrede at nospam.org
Tue Oct 17 00:35:14 PDT 2006


Don Clugston wrote:
> However, there'd be no template code bloat, either.
> 
> Existing code would be unchanged. You could even write:
> 
> Regexp a = StaticRegExp!("ab?(ab*)+", "g");
> 
> (assign a pre-compiled regular expression to an existing phobos RegExp).

IMHO, this would be a Killer App in template programming.

And definitely one of the show-off gems in D.



More information about the Digitalmars-d mailing list