From 07c8c65a65b9b9f7a41d3e0784b2702ea2a562ae Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 21 Nov 2004 03:51:04 +0000 Subject: [PATCH] (Skipping Characters): skip-chars-forward now handles char classes. --- lispref/ChangeLog | 3 +++ lispref/positions.texi | 10 ---------- 2 files changed, 3 insertions(+), 10 deletions(-) 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 -- 2.39.2