´ breakout?
Posted: Thu Apr 23, 2009 2:18 pm
Hi All,
Has any one seen this before?
When i perform a preg_match_all on a html page that contains ´ it breaks out my pregmatch?
eg the html file contains (with the usual html tags and stuff):
drS_name='Panthers Run'
drS_name='Jack´s Lad'
drS_name='Red Jester'
What i'm matching is (?<=drS_name=.).+[a-z] which should return:
Panthers Run
Jack´s Lad
Red Jester
but because of the html ´ its breaking the match out and only returning:
Jack'
Any Ideas anyone?
Thanks,
Slash.
Has any one seen this before?
When i perform a preg_match_all on a html page that contains ´ it breaks out my pregmatch?
eg the html file contains (with the usual html tags and stuff):
drS_name='Panthers Run'
drS_name='Jack´s Lad'
drS_name='Red Jester'
What i'm matching is (?<=drS_name=.).+[a-z] which should return:
Panthers Run
Jack´s Lad
Red Jester
but because of the html ´ its breaking the match out and only returning:
Jack'
Any Ideas anyone?
Thanks,
Slash.