p'tal


p'tal

12.02.2002, 00:20 · Martin · Permalink

first steps towards building a ZPT TAL work-alike in PHP have been done tonight. There's still a long way to go, many limitations, and currently it'll only do 'content' and 'replace' methods... but still it's a start, and might even be enough to work with... (won't show code yet, those regex are not for the faint-of-heart)
Ok, maybe just a teaser; this is the core regex doing most of the work
"/<((\w+).*)\s+ptal:(\w+)=\"([^\"]+)\">.*<\/\\2>/"


alles Bild, Text und Tonmaterial ist © Martin Spernau, Verwendung und Reproduktion erfordert die Zustimmung des Authors

Martin Spernau
© 1994-2026


amazon.de Wunschliste

Facebook me!
Google+

powered by Traumtank