Commit 07c8c65a authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Skipping Characters): skip-chars-forward now handles char classes.

parent 8e528e73
2004-11-20 Richard M. Stallman <rms@gnu.org>
* positions.texi (Skipping Characters): skip-chars-forward
now handles char classes.
* intro.texi (Printing Notation): Avoid confusion of `print'
when explaining @print.
......
......@@ -796,16 +796,6 @@ comes back" twice.
@end group
@end example
Note that char classes are not currently supported in
@var{character-set}; they will be treated as literals. Thus you
cannot use @code{"[:alpha:]"} instead of @code{"a-zA-Z"} to include
non-@acronym{ASCII} letters. A way to skip forward over all letters is:
@example
(re-search-forward "\\=[[:alpha:]]*" nil t)
@end example
@end defun
@defun skip-chars-backward character-set &optional limit
This function moves point backward, skipping characters that match
@var{character-set}, until @var{limit}. It is just like
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment