[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
\t not correctly processed in query-replace-regexp
From: |
Paul vL |
Subject: |
\t not correctly processed in query-replace-regexp |
Date: |
Thu, 16 Sep 2004 19:41:11 +0800 |
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.3.1 (i386-mingw-nt5.0.2195)
of 2004-03-10 on NYAUMO
configured using `configure --with-gcc (3.2)'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ENU
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
when using a character class with \t, the \t is not recognised:
[ \t]+ will not match a sequence of spaces and tabs.
using C-q to insert a literal tab character does work;
[ ]+ will match a sequence of spaces and tabs.
it is stated in the "syntax
of regular expressions" section of the emacs manual/info file that :
" `\"' stands for a double-quote as part of
the regexp, `\\' for a backslash as part of the regexp, `\t' for a tab,
and `\n' for a newline. "
and it even gives an example which uses \t for tabs:
"[.?!][]\"')]*\\($\\| $\\|\t\\| \\)[ \t\n]*"
Regards,
Paul
Recent input:
n n n n n n n n n n n n n n n n n n n n n q <down-mouse-1>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-1> <mouse-wheel>
<mouse-wheel> <mouse-wheel> <mouse-wheel> <mouse-wheel>
<mouse-wheel> <mouse-wheel> <mouse-wheel> <mouse-wheel>
<mouse-wheel> <mouse-wheel> <mouse-wheel> <mouse-wheel>
<mouse-wheel> <mouse-wheel> <mouse-wheel> <help-echo>
u <up> <return> <down-mouse-1> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-1> C-M-% t
e x t [ SPC C-` <tab> ] + n o c a s e <return> <return>
y y y y y y y y y y y ! C-x C-s <menu-bar> <help-menu>
<report-emacs-bug>
Recent messages:
query-replace-regexp: Quit
Mark set
Replaced 0 occurrences
Loading phexl...done
Mark set
Replaced 0 occurrences
Mark set
Replaced 14 occurrences
Wrote c:/project/rhapsody/archive/nasm2c/nasm.c3po
Loading emacsbug...done
--
_______________________________________________
Graffiti.net free e-mail @ www.graffiti.net
Check out our value-added Premium features, such as a 1 GB mailbox for just
US$9.95 per year!
Powered by Outblaze
- \t not correctly processed in query-replace-regexp,
Paul vL <=