This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.2.1 (i686-pc-linux-gnu, GNU/LessTif Version 1.2 Release 0.92.32) of 2002-03-19 on seal.service.jet.msk.su configured using `configure --prefix=/usr --with-x-toolkit=motif' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: ru_RU.koi8r value of $LC_CTYPE: ru_RU.koi8r value of $LC_MESSAGES: ru_RU.koi8r value of $LC_MONETARY: nil value of $LC_NUMERIC: C value of $LC_TIME: C value of $LANG: ru_RU.koi8r locale-coding-system: cyrillic-koi8 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I got this error many times when i read my mail with gnus via pop3. Gnus read data from pop3 server in binary mode and some time this bug lead to loss my letters. to reproduce this i write test case (in attachment). To reproduce you need open test.el in emacs and eval it twice (i can't understand why it not worked in first pass). file emacs-test-mail.txt must be in one dir with test.el - it is my test mail letter. after eval you got two buffers -- *test-case* with results of command output, and *test-result* with results of regexp match (buggy). This error arise only when exists small russian char 'r', and also exists char '.' in end of string. so "^\\.\r\r" will match full string. Recent input: t e s C-x b * t c C-x k C-x b * t e C-x k C-x b * t e r e C-x k C-x b * t e C-x k C-x k M-g m e m C-x k y Recent messages: No more unread newsgroups nnml: Reading incoming mail from pop... [3 times] nnml: Reading incoming mail (no new mail)...done nnml: Reading incoming mail from pop... [3 times] nnml: Reading incoming mail (no new mail)...done Making completion list... nnml: Reading incoming mail from pop... [3 times] nnml: Reading incoming mail (no new mail)...done Parsing /home/ott/.mailrc... done Loading emacsbug...done