On 2006-05-10,
sq****@peoriadesignweb.com <sq****@peoriadesignweb.com> wrote:
tim wrote:
Either with \
preg_match( '/www\//', $str )
or use a diffrent charcter as a delimiter
preg_match( '|www/|', $str )
Actually I want to use $str in the preg_match, i.e:
preg_match( "$str" , 'www' )
but since $str is 'www/', the forward slashes causes a problem
As already said: they are only a problem if you use them as delimiter...
Since webdevelopment is usually about URLs (with forward slashes) i
agree that is better to use a delimiter like | instead of /.
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>