123 |
treated in the same context. You can also specify a character by its |
treated in the same context. You can also specify a character by its |
124 |
octal code: enter @kbd{C-q} followed by a sequence of octal digits. |
octal code: enter @kbd{C-q} followed by a sequence of octal digits. |
125 |
|
|
126 |
@cindex searching for non-ASCII characters |
@cindex searching for non-@acronym{ASCII} characters |
127 |
@cindex input method, during incremental search |
@cindex input method, during incremental search |
128 |
To search for non-ASCII characters, you must use an input method |
To search for non-@acronym{ASCII} characters, you must use an input method |
129 |
(@pxref{Input Methods}). If an input method is enabled in the |
(@pxref{Input Methods}). If an input method is enabled in the |
130 |
current buffer when you start the search, you can use it while you |
current buffer when you start the search, you can use it while you |
131 |
type the search string also. Emacs indicates that by including the |
type the search string also. Emacs indicates that by including the |
534 |
|
|
535 |
You can also include character ranges in a character set, by writing the |
You can also include character ranges in a character set, by writing the |
536 |
starting and ending characters with a @samp{-} between them. Thus, |
starting and ending characters with a @samp{-} between them. Thus, |
537 |
@samp{[a-z]} matches any lower-case ASCII letter. Ranges may be |
@samp{[a-z]} matches any lower-case @acronym{ASCII} letter. Ranges may be |
538 |
intermixed freely with individual characters, as in @samp{[a-z$%.]}, |
intermixed freely with individual characters, as in @samp{[a-z$%.]}, |
539 |
which matches any lower-case ASCII letter or @samp{$}, @samp{%} or |
which matches any lower-case @acronym{ASCII} letter or @samp{$}, @samp{%} or |
540 |
period. |
period. |
541 |
|
|
542 |
Note that the usual regexp special characters are not special inside a |
Note that the usual regexp special characters are not special inside a |
560 |
@item @kbd{[^ @dots{} ]} |
@item @kbd{[^ @dots{} ]} |
561 |
@samp{[^} begins a @dfn{complemented character set}, which matches any |
@samp{[^} begins a @dfn{complemented character set}, which matches any |
562 |
character except the ones specified. Thus, @samp{[^a-z0-9A-Z]} matches |
character except the ones specified. Thus, @samp{[^a-z0-9A-Z]} matches |
563 |
all characters @emph{except} ASCII letters and digits. |
all characters @emph{except} @acronym{ASCII} letters and digits. |
564 |
|
|
565 |
@samp{^} is not special in a character set unless it is the first |
@samp{^} is not special in a character set unless it is the first |
566 |
character. The character following the @samp{^} is treated as if it |
character. The character following the @samp{^} is treated as if it |