[imp] IMAP ACLs [PATCH]

Nick Loman nick at loman.net
Tue Feb 4 22:04:32 PST 2003


On Tue, 4 Feb 2003, Chuck Hagenbuch wrote:

> > 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.
> 
> *sigh*
> 
> Chris, I was going to let it pass, but I pasted your *exact* code block and
> just fixed the spacing. You had two arguments to addslashes().
> 
> Nick, \W is not a control character as far as PHP is concerned. It's a
> regexp metacharacter. Pasted from Horde's PHP Shell:

Woops, fair enough. But its probably sensible to use "\\W" or '\W'
and get yourself in the habit, wouldn't you think? ;-)

Nick.




More information about the imp mailing list