From: stekkel Date: Sun, 29 Jun 2003 19:40:08 +0000 (+0000) Subject: To many problems with this regex call. using \\\\ instead of \\ seems to X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3698bd496fea1e2b4e29361930e39a72532b310c;p=squirrelmail.git To many problems with this regex call. using \\\\ instead of \\ seems to work for everyone. If somebody can explain why \\ is not sufficient please explain. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5168 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/imap_mailbox.php b/functions/imap_mailbox.php index 8717c49a..e212d97a 100755 --- a/functions/imap_mailbox.php +++ b/functions/imap_mailbox.php @@ -93,7 +93,7 @@ function find_mailbox_name ($mailbox) { } function check_is_noselect ($lsub_line) { - return preg_match("/^\* (LSUB|LIST) \([^\)]*\\Noselect[^\)]*\)/i", $lsub_line); + return preg_match("/^\* (LSUB|LIST) \([^\)]*\\\\Noselect[^\)]*\)/i", $lsub_line); } /**