Jump to content

preg_match being touchy, not working properly?


devknob

Recommended Posts

This works in my preg_match_all():

$gamesRegex = '#<h4>(.*?)<#i';

 

This doesnt work in my preg_match_all();

$gamesRegex = '#<h4>(.*?)<br clear="left">#i';

 

Any idea why? anything after the < is causing it not to work, which I cant understand because other preg_matches are working with < and letters afterwards.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.