February 25, 2006 Re: Template regexes, version 2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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. |
Copyright © 1999-2021 by the D Language Foundation