compile-time regex redux

Walter Bright newshound at digitalmars.com
Wed Feb 7 10:38:06 PST 2007


kenny wrote:
> I know I'm asking for a lot, but the way templates handle string are 
> still kinda weird to me. Would string parsing in this sort of way be 
> absolutely impossible with templates? I have not had good luck with it. 

I just haven't thought about this enough. Certainly, however, solving 
the problem in a more general, D-ish way than regex would be a much 
bigger win. Regex works only for a subset of problems (can't do 
recursive descent parsing with it).



More information about the Digitalmars-d mailing list