# HG changeset patch # User Richard M. Stallman # Date 1101009038 0 # Node ID 23dfc76d362587ad001c7f9f6f501a0377bd9409 # Parent 961a75031ddc1cd39670ea2cef29eeae640a4f2b (Skipping Characters): skip-chars-forward now handles char classes. diff -r 961a75031ddc -r 23dfc76d3625 lispref/positions.texi --- 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