Vote count:
0
I have a php that looks something like this:
(?i)<(.*?)((?P<QUALIFY>title|))(.*?)>(.*?)(?P<MATCH>(South Beach))(.*?)<\/.*?>
Which works as I wish since
returns
- QUALIFY: TItle
- MATCH: South Beach
and
returns nothing.
This is when testing on regex101.
However when this is included in web site code on a live site then
returns
- QUALIFY: TItle
- MATCH: South Beach
Yes I know, don't parse HTML with Regex. Outside of that any ideas? My other tested regexes work fine, perhaps I'm missing something here?
asked 31 secs ago
Aucun commentaire:
Enregistrer un commentaire