1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00

(String Basics): Mention string-match; clarify.

This commit is contained in:
Richard M. Stallman 2005-04-17 15:44:33 +00:00
parent c06b447862
commit 86cf000e84

View File

@ -74,10 +74,11 @@ a key sequence, you must use a vector instead of a string.
and other modifiers for keyboard input characters.
Strings are useful for holding regular expressions. You can also
match regular expressions against strings (@pxref{Regexp Search}). The
functions @code{match-string} (@pxref{Simple Match Data}) and
@code{replace-match} (@pxref{Replacing Match}) are useful for
decomposing and modifying strings based on regular expression matching.
match regular expressions against strings with @code{string-match}
(@pxref{Regexp Search}). The functions @code{match-string}
(@pxref{Simple Match Data}) and @code{replace-match} (@pxref{Replacing
Match}) are useful for decomposing and modifying strings after
matching regular expressions against them.
Like a buffer, a string can contain text properties for the characters
in it, as well as the characters themselves. @xref{Text Properties}.