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:
parent
8e528e73de
commit
07c8c65a65
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user