At 13:16 -0800 21 Dec 2000, Eugene Lee <[EMAIL PROTECTED]> wrote:
> 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.

There's not a way to do that but you might be able to use something
like (completely untested):

  folder-hook (^|/)b[^/]*$ 'set ....'

That ensures that the "b" is immediately after either the start of the
folder name (just in case that somehow gets matched against) or a slash
and that there are no slashes between it and the end of the folder name
(to make sure it's not some higher level directory which matches).

-- 
Aaron Schrab     [EMAIL PROTECTED]      http://www.execpc.com/~aarons/
 Criminals today have guns.  Soon they will have computers and other
 weapons of mass destruction.   -- U.S. Attorney General Janet Reno

Reply via email to