Template regexes, version 2

Don Clugston dac at nospam.com.au
Sat Feb 25 10:57:02 PST 2006


Walter Bright wrote:
> Thanks! 
> 
> 
I've now updated it so that it does proper regexps (non-greedy matching 
only). I've also added a couple of the trivial bits like character classes.

http://trac.dsource.org/projects/ddl/browser/trunk/meta/regexp2.d

I think that since it now does non-greedy matching correctly AFAIK even 
in the tricky cases, it should now be clear to everyone that the concept 
works. But it could be greatly improved, and some of the basic stuff is 
still missing (like escape characters).
Let me know what you think is most important for your presentation.



More information about the Digitalmars-d mailing list