DjiXas Posted October 2, 2007 Share Posted October 2, 2007 Hello Everyone, I am having some problems with the following code $content=@file_get_contents($DOMAIN); preg_match_all('index.php?article=(.*)', $content, $extract, PREG_SET_ORDER); And I get error in preg match all line: Delimiter must not be alphanumeric or backslash What's wrong with this code? Quote Link to comment https://forums.phpfreaks.com/topic/71502-delimiter-must-not-be-alphanumeric-or-backslash/ Share on other sites More sharing options...
effigy Posted October 2, 2007 Share Posted October 2, 2007 PREG patterns require delimiters. See this topic. Quote Link to comment https://forums.phpfreaks.com/topic/71502-delimiter-must-not-be-alphanumeric-or-backslash/#findComment-360047 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.