From: Richard M. Stallman Date: Sun, 21 Nov 2004 03:51:04 +0000 (+0000) Subject: (Skipping Characters): skip-chars-forward now handles char classes. X-Git-Tag: ttn-vms-21-2-B4~3786 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=07c8c65a65b9b9f7a41d3e0784b2702ea2a562ae;p=emacs.git (Skipping Characters): skip-chars-forward now handles char classes. --- diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 3d6b3cfd59c..5e5cdfc8955 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,5 +1,8 @@ 2004-11-20 Richard M. Stallman + * positions.texi (Skipping Characters): skip-chars-forward + now handles char classes. + * intro.texi (Printing Notation): Avoid confusion of `print' when explaining @print. diff --git a/lispref/positions.texi b/lispref/positions.texi index 12ec9f7ff4e..783024da052 100644 --- a/lispref/positions.texi +++ b/lispref/positions.texi @@ -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