comparison lispref/positions.texi @ 60785:2d8b73599b7b

(Skipping Characters): skip-chars-forward allows character classes.
author Richard M. Stallman <rms@gnu.org>
date Mon, 21 Mar 2005 17:54:33 +0000
parents 1b1724ddcdad
children 951cb9c59174 13796b0653c7
comparison
equal deleted inserted replaced
60784:569b1f95bbe0 60785:2d8b73599b7b
768 The argument @var{character-set} is a string, like the inside of a 768 The argument @var{character-set} is a string, like the inside of a
769 @samp{[@dots{}]} in a regular expression except that @samp{]} does not 769 @samp{[@dots{}]} in a regular expression except that @samp{]} does not
770 terminate it, and @samp{\} quotes @samp{^}, @samp{-} or @samp{\}. 770 terminate it, and @samp{\} quotes @samp{^}, @samp{-} or @samp{\}.
771 Thus, @code{"a-zA-Z"} skips over all letters, stopping before the 771 Thus, @code{"a-zA-Z"} skips over all letters, stopping before the
772 first nonletter, and @code{"^a-zA-Z"} skips nonletters stopping before 772 first nonletter, and @code{"^a-zA-Z"} skips nonletters stopping before
773 the first letter. @xref{Regular Expressions}. 773 the first letter. See @xref{Regular Expressions}. Character classes
774 can also be used, e.g. @code{"[:alnum:]"}. See @pxref{Char Classes}.
774 775
775 If @var{limit} is supplied (it must be a number or a marker), it 776 If @var{limit} is supplied (it must be a number or a marker), it
776 specifies the maximum position in the buffer that point can be skipped 777 specifies the maximum position in the buffer that point can be skipped
777 to. Point will stop at or before @var{limit}. 778 to. Point will stop at or before @var{limit}.
778 779