From 3698bd496fea1e2b4e29361930e39a72532b310c Mon Sep 17 00:00:00 2001 From: stekkel Date: Sun, 29 Jun 2003 19:40:08 +0000 Subject: [PATCH] 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 --- functions/imap_mailbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /** -- 2.25.1