Posted by Janwillem Borleffs on 03/12/06 03:36
Toby Inkster wrote: > What if $str contained "\1"? > You probably mean "\\1", which will contain pattern matches grouped by parenthesis, but these will be ignored as preg_quote is used to escape the parenthesis when occurring in $needle. JW
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming