After an upgrade to mail-client/mutt-1.5.20-r4, I noticed problems in regex matching when using UTF-8. Specifically, most named character classes (e.g. [[:alpha:]]) fail to match when mutt is started with `LC_ALL=en_US.utf8 mutt`, but match correctly when mutt is started with `LC_ALL=C mutt`. I have noticed this failure to match in the mail reader's search search function and in attempting to match email with the save-hook command in configuration files. The problem also exists in mail-client/mutt-1.5.20-r5, but does not exist with mail-client/mutt-1.5.16 or mail-client/mutt-1.5.19-r1.
just for sure, can you paste your mutt -v output?
Mutt 1.5.19 (2009-01-05) Copyright (C) 1996-2009 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. Mutt is free software, and you are welcome to redistribute it under certain conditions; type `mutt -vv' for details. System: Linux 2.6.30-gentoo-r4 (x86_64) ncurses: ncurses 5.6.20061217 (compiled with 5.6) hcache backend: GDBM version 1.8.3. 10/15/2002 (built Apr 17 2009 18:17:02) Compile options: -DOMAIN +DEBUG +HOMESPOOL -USE_SETGID +USE_DOTLOCK +DL_STANDALONE -USE_FCNTL +USE_FLOCK +USE_POP +USE_NNTP +USE_IMAP +USE_SMTP +USE_SSL_OPENSSL -USE_SSL_GNUTLS +USE_SASL -USE_GSS +HAVE_GETADDRINFO -HAVE_REGCOMP +USE_GNU_REGEX +COMPRESSED +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM +CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME -CRYPT_BACKEND_GPGME -EXACT_ADDRESS -SUN_ATTACHMENT +ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS -HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE ISPELL="/usr/bin/ispell" SENDMAIL="/usr/sbin/sendmail" MAILPATH="Maildir" PKGDATADIR="/usr/share/mutt" SYSCONFDIR="/etc/mutt" EXECSHELL="/bin/sh" -MIXMASTER To contact the developers, please mail to <mutt-dev@mutt.org>. To report a bug, please visit http://bugs.mutt.org/. dgc.subjrx fg.smarttime vvv.initials vvv.quote vvv.nntp patch-1.5.6.dw.pgp-timeout.1 patch-1.5.6.dw.mbox-hook.1 rr.compressed patch-1.5.4.lpr.collapse_flagged Lukas P. Ruf <lukas.ruf@lpr.ch>
I think this is libc related, not much mutt can do about it.