<<< Date Index >>>     <<< Thread Index >>>

Re: mutt/2402: damaged regexps in folder-hooks



The following reply was made to PR mutt/2402; it has been noted by GNATS.

From: Rocco Rutte <pdmef@xxxxxxx>
To: bug-any@xxxxxxxxxxxxx
Cc: 
Subject: Re: mutt/2402: damaged regexps in folder-hooks
Date: Thu, 3 Aug 2006 13:16:59 +0000

 Hi,
 
 * Michael Tatge [06-08-03 15:05:01 +0200] wrote:
 
 > This is an old bug iirc. See #1911
 
 Nope. When parsing:
 
    folder-hook ^foobar$ ...
 
 mutt correctly extracts ^foobar$ as text. Afterwards, it tries to expand 
 the path. As '^' is for the current folder, it's inserted. (During 
 startup there's no 'current folder').
 
 Afterwards the string used as regex just is: 'foobar$'.
 
    bye, Rocco
 -- 
 :wq!