guitarist809 Posted February 13, 2007 Share Posted February 13, 2007 Man, i just suck with regex! what does the # symbol do in a regex pattern, like $pattern = '#<(.*?)>#'; Could never figure it out Quote Link to comment Share on other sites More sharing options...
effigy Posted February 13, 2007 Share Posted February 13, 2007 See these: http://www.phpfreaks.com/forums/index.php/topic,126178.msg524875.html#msg524875 http://www.phpfreaks.com/forums/index.php/topic,122245.msg507856.html#msg507856 Quote Link to comment Share on other sites More sharing options...
guitarist809 Posted February 13, 2007 Author Share Posted February 13, 2007 I coudln't find anything relating to the # symbol in those posts Quote Link to comment Share on other sites More sharing options...
effigy Posted February 13, 2007 Share Posted February 13, 2007 The "#" in this case is your delimiter. Quote Link to comment Share on other sites More sharing options...
guitarist809 Posted February 13, 2007 Author Share Posted February 13, 2007 uh.... ok but what does it do? I cant find crap about it anywhere (not even my best friend, google *cry*) Quote Link to comment Share on other sites More sharing options...
effigy Posted February 13, 2007 Share Posted February 13, 2007 I thought it was clearly explained in the first link I posted. You can also try the first paragraph of the PCRE docs. Quote Link to comment Share on other sites More sharing options...
effigy Posted February 14, 2007 Share Posted February 14, 2007 I found this post, which might be helpful. Quote Link to comment 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.