Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2c3a3c1d
Commit
2c3a3c1d
authored
Jun 02, 2010
by
Chong Yidong
Browse files
searching.texi (Regexp Special): Replace "octal 377" with "#o377" (Bug#6283).
parent
dbe82b27
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
doc/lispref/ChangeLog
doc/lispref/ChangeLog
+5
-0
doc/lispref/searching.texi
doc/lispref/searching.texi
+9
-8
No files found.
doc/lispref/ChangeLog
View file @
2c3a3c1d
2010-06-02 Chong Yidong <cyd@stupidchicken.com>
* searching.texi (Regexp Special): Replace "octal 377"
with "#o377" (Bug#6283).
2010-05-30 Juanma Barranquero <lekktu@gmail.com>
* minibuf.texi (Basic Completion): Add missing "@end defun".
...
...
doc/lispref/searching.texi
View file @
2c3a3c1d
...
...
@@ -400,14 +400,15 @@ is @samp{@var{c}..?\377}, the other is @samp{@var{c1}..@var{c2}}, where
@var{c1} is the first character of the charset to which @var{c2}
belongs.
You cannot always match all non-@acronym{ASCII} characters with the regular
expression @code{"[\200-\377]"}. This works when searching a unibyte
buffer or string (@pxref{Text Representations}), but not in a multibyte
buffer or string, because many non-@acronym{ASCII} characters have codes
above octal 0377. However, the regular expression @code{"[^\000-\177]"}
does match all non-@acronym{ASCII} characters (see below regarding @samp{^}),
in both multibyte and unibyte representations, because only the
@acronym{ASCII} characters are excluded.
You cannot always match all non-@acronym{ASCII} characters with the
regular expression @code{"[\200-\377]"}. This works when searching a
unibyte buffer or string (@pxref{Text Representations}), but not in a
multibyte buffer or string, because many non-@acronym{ASCII}
characters have codes above @code{#o377}. However, the regular
expression @code{"[^\000-\177]"} does match all non-@acronym{ASCII}
characters (see below regarding @samp{^}), in both multibyte and
unibyte representations, because only the @acronym{ASCII} characters
are excluded.
A character alternative can also specify named
character classes (@pxref{Char Classes}). This is a POSIX feature whose
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment