lipun4u Posted October 5, 2009 Share Posted October 5, 2009 preg_match_all('/\'(.*?)\'/', $row[1], $enum_array); what does it mean by the above pattern ??? Link to comment https://forums.phpfreaks.com/topic/176542-re-pattern/ Share on other sites More sharing options...
Mchl Posted October 5, 2009 Share Posted October 5, 2009 Match everything between the first and the last single quote. Link to comment https://forums.phpfreaks.com/topic/176542-re-pattern/#findComment-930614 Share on other sites More sharing options...
.josh Posted October 5, 2009 Share Posted October 5, 2009 actually it's match and capture everything but a newline (no modifier for the dot) between all (preg_match_all) "first" and "next" (lazy quantifier) single quote characters. Link to comment https://forums.phpfreaks.com/topic/176542-re-pattern/#findComment-930797 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.