[imp] IMAP ACLs [PATCH]

Nick Loman nick at loman.net
Tue Feb 4 21:52:14 PST 2003


On Tue, 4 Feb 2003, Chris Hastie wrote:

> >> if (preg_match("/\W/",$pass)) {

!= 

> >if (preg_match('/\W/', $pass)) {

They do different things. A string in double quotes will have certain
control characters expanded (namely those starting with a \, like your \W 
whereas a string in single quotes won't.

Nick.




More information about the imp mailing list