can anyone tell me where I can find resources regarding string parsing. I am trying to create a template system with php. I have written a crude one using regular expression, but I was hoping to develop one from scratch using my own string parsing functions, for greater effeciency and control. The basic syntax of the custom tag will be something like:
<tagname attrib1="value1">
The code will basically scan and process these types of tags w/ custom tagnames iteratively until all are complete.
Any ideas on how and where I can begin learning how to do this?