I'm developing a JSP-like tag library for PHP. I've got a crude MVC for the tags but have run into some limitations of preg_match. What I need is something to recursively process nested tags. The reg functions do not support this. Several people have suggested using expat, but I would like to use the core PHP features and avoid using extensions to PHP. Why? In case they are not available from the host service and to use this as a teaching tool for lexical analysis.
If anyone is interested in working on this or wonders why someone would want to build yet another template processor, see my web site (http://aquavitae.homeip.net/index.php?wpin=mywork&wpie=yatp).
I wish to solve this problem first so that I may support the basic tag library functionality.
Eric Miller
ericmiller@mediaone.net
http://aquavitae.homeip.net