compile-time regex redux

Walter Bright newshound at digitalmars.com
Wed Feb 7 10:34:09 PST 2007


Sean Kelly wrote:
> Just a quick comment--I want to think about this a bit more.  If we are 
> given compile-time regular expressions it may be useful if we could 
> obtain more information than this.  For example, I would probably also 
> want to know where in the source string the match begins.

One idea is to have it return an array of strings, and then you'd index 
that to get the desired result string.



More information about the Digitalmars-d mailing list