shane18 Posted September 24, 2009 Share Posted September 24, 2009 1: /(.+)(.+)/ 2: /(.+?)(.+)/ >Expression 1 -Turns BLAH into 1> BLA 2> H >Expression 2 -Turns BLAH into 1> B 2> LAH If you can explain why this happens in great detail? If you can answer this by showing how the engine figures this regex pattern out in great detail? I'll be set when it comes to making regex patterns. Quote Link to comment https://forums.phpfreaks.com/topic/175410-solved-regex-confusion/ Share on other sites More sharing options...
nrg_alpha Posted September 24, 2009 Share Posted September 24, 2009 I sent you a PM in response to your PM that explains this. Quote Link to comment https://forums.phpfreaks.com/topic/175410-solved-regex-confusion/#findComment-924381 Share on other sites More sharing options...
shane18 Posted September 24, 2009 Author Share Posted September 24, 2009 yes indeed u did thanks a lot Quote Link to comment https://forums.phpfreaks.com/topic/175410-solved-regex-confusion/#findComment-924400 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.