On Thu, Dec 21, 2000 at 07:48:20PM +0100, Michael Tatge wrote:
: Eugene Lee muttered:
: >
: > If I had the following mailboxes that all start with the letter 'b':
: >
: > ~/Mail/bob
: > ~/Mail/bobby
: > ~/Mail/info/bricks
: > ~/Mail/network/tools/bing
: >
: > Is it possible to make a single folder-hook pattern that matches all of
: > these mailboxes?
:
: If you want to match exactly these folders:
:
: folder-hook =bob|=bobby|=info/bricks|=network/tools/bing '...'
: assuming you set folder="~/Mail"
That's a pain, because I'd have to modify my folder-hook if these
folders were to move around in the filesystem.
: The regexp matches any sub-string of the whole path. So
: folder-hook test '...' would match ~/Mail/test as well as
: /test/Mail/dummy_folder. That's why the =/+ shortcut for $folder is so
: useful.
But there seems to be no way to match all mailboxes that begin with the
letter 'b'. In other words, I can't make a folder-hook perform a match
on *only* the mailbox name itself and not the absolute pathname. If
there's a way to do this, I'd love to know how.
--
Eugene Lee
[EMAIL PROTECTED]