Mercurial > emacs
changeset 66193:654295366299
(Fstring_match): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 19 Oct 2005 01:52:50 +0000 |
parents | 16f7998a8424 |
children | 6b43bb0a3a9c |
files | src/search.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/search.c Tue Oct 18 18:29:11 2005 +0000 +++ b/src/search.c Wed Oct 19 01:52:50 2005 +0000 @@ -429,7 +429,7 @@ DEFUN ("string-match", Fstring_match, Sstring_match, 2, 3, 0, doc: /* Return index of start of first match for REGEXP in STRING, or nil. -Case is ignored if `case-fold-search' is non-nil in the current buffer. +Matching ignores case `case-fold-search' is non-nil. If third arg START is non-nil, start search at that index in STRING. For index of first char beyond the match, do (match-end 0). `match-end' and `match-beginning' also give indices of substrings