Mercurial > emacs
changeset 58388:23dfc76d3625
(Skipping Characters): skip-chars-forward now handles char classes.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 21 Nov 2004 03:50:38 +0000 |
parents | 961a75031ddc |
children | dc700332c8ee |
files | lispref/positions.texi |
diffstat | 1 files changed, 0 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/positions.texi Sun Nov 21 03:27:39 2004 +0000 +++ b/lispref/positions.texi Sun Nov 21 03:50:38 2004 +0000 @@ -796,16 +796,6 @@ @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