1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00

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

This commit is contained in:
Richard M. Stallman 2004-11-21 03:51:04 +00:00
parent 8e528e73de
commit 07c8c65a65
2 changed files with 3 additions and 10 deletions

View File

@ -1,5 +1,8 @@
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.

View File

@ -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