Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
07c8c65a
Commit
07c8c65a
authored
Nov 21, 2004
by
Richard M. Stallman
Browse files
(Skipping Characters): skip-chars-forward now handles char classes.
parent
8e528e73
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
lispref/ChangeLog
lispref/ChangeLog
+3
-0
lispref/positions.texi
lispref/positions.texi
+0
-10
No files found.
lispref/ChangeLog
View file @
07c8c65a
2004-11-20 Richard M. Stallman <rms@gnu.org>
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'
* intro.texi (Printing Notation): Avoid confusion of `print'
when explaining @print.
when explaining @print.
...
...
lispref/positions.texi
View file @
07c8c65a
...
@@ -796,16 +796,6 @@ comes back" twice.
...
@@ -796,16 +796,6 @@ comes back" twice.
@end group
@end group
@end example
@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
@defun skip-chars-backward character-set &optional limit
This function moves point backward, skipping characters that match
This function moves point backward, skipping characters that match
@var{character-set}, until @var{limit}. It is just like
@var{character-set}, until @var{limit}. It is just like
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment