[PHP] Sayonara PHP

2007-12-25 Thread Martin Alterisio
Please let me do a little explanation of the title first. Japanese is an interesting language where context is vital to the meaning of a word. Sayonara usually means a simple "good bye", but within a different context can mean "we'll probably never meet again". To understand this mail you'll have

Re: [PHP] loadHTML()

2007-12-25 Thread Jochem Maas
M5 schreef: > OK, I already knew that making it valid doesn't change the result. But > the question remains, how to parse the HTML as it arrives (which I have > no control over anyway), besides doing a str_replace on and > inserting a token, which I later replace (which I shouldn't have to, > righ

Re: [PHP] Simple RegEx question

2007-12-25 Thread Jochem Maas
M5 schreef: > I'm learning regular expressions, and trying to figure out what's > possible and what's not. pretty much anything as far as string parsing goes. > Any ideas of how to create a preg_match > expression to parse following three lines: yes. given your intention to learn regexps why no