mr_mind Posted November 28, 2008 Share Posted November 28, 2008 Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 29 in /path/to/file.php on line 47 Line 46: $ext_search = '/<table class="bidhistory">(.?*)<\/table>/'; Line 47: preg_match($ext_search,$ext_html,$ext_matches); Link to comment https://forums.phpfreaks.com/topic/134640-solved-warning-preg_match-functionpreg-match-compilation-failed/ Share on other sites More sharing options...
rhodesa Posted November 28, 2008 Share Posted November 28, 2008 that is an invalid regex...are you trying to do a non-greedy catch-all? (.*?) Link to comment https://forums.phpfreaks.com/topic/134640-solved-warning-preg_match-functionpreg-match-compilation-failed/#findComment-701025 Share on other sites More sharing options...
mr_mind Posted November 28, 2008 Author Share Posted November 28, 2008 ah thats right, typos will be the end of me, fixed Link to comment https://forums.phpfreaks.com/topic/134640-solved-warning-preg_match-functionpreg-match-compilation-failed/#findComment-701027 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.