diff options
| author | Karl Heuer | 1999-03-04 09:15:37 +0000 |
|---|---|---|
| committer | Karl Heuer | 1999-03-04 09:15:37 +0000 |
| commit | 21e01890f878d3dad8e52591b01f942ae98efc0b (patch) | |
| tree | 9cf889519ffe0b474755713ffa6d5d4d84c3539f /src | |
| parent | a871dd585ba29dd462aba78c49c931aa47402ffb (diff) | |
| download | emacs-21e01890f878d3dad8e52591b01f942ae98efc0b.tar.gz emacs-21e01890f878d3dad8e52591b01f942ae98efc0b.zip | |
(Fstring_match, Fposix_string_match): Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/search.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/search.c b/src/search.c index 8a67360b549..8137f9d1871 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -415,6 +415,7 @@ string_match_1 (regexp, string, start, posix) | |||
| 415 | 415 | ||
| 416 | DEFUN ("string-match", Fstring_match, Sstring_match, 2, 3, 0, | 416 | DEFUN ("string-match", Fstring_match, Sstring_match, 2, 3, 0, |
| 417 | "Return index of start of first match for REGEXP in STRING, or nil.\n\ | 417 | "Return index of start of first match for REGEXP in STRING, or nil.\n\ |
| 418 | Case is ignored if `case-fold-search' is non-nil in the current buffer.\n\ | ||
| 418 | If third arg START is non-nil, start search at that index in STRING.\n\ | 419 | If third arg START is non-nil, start search at that index in STRING.\n\ |
| 419 | For index of first char beyond the match, do (match-end 0).\n\ | 420 | For index of first char beyond the match, do (match-end 0).\n\ |
| 420 | `match-end' and `match-beginning' also give indices of substrings\n\ | 421 | `match-end' and `match-beginning' also give indices of substrings\n\ |
| @@ -428,6 +429,7 @@ matched by parenthesis constructs in the pattern.") | |||
| 428 | DEFUN ("posix-string-match", Fposix_string_match, Sposix_string_match, 2, 3, 0, | 429 | DEFUN ("posix-string-match", Fposix_string_match, Sposix_string_match, 2, 3, 0, |
| 429 | "Return index of start of first match for REGEXP in STRING, or nil.\n\ | 430 | "Return index of start of first match for REGEXP in STRING, or nil.\n\ |
| 430 | Find the longest match, in accord with Posix regular expression rules.\n\ | 431 | Find the longest match, in accord with Posix regular expression rules.\n\ |
| 432 | Case is ignored if `case-fold-search' is non-nil in the current buffer.\n\ | ||
| 431 | If third arg START is non-nil, start search at that index in STRING.\n\ | 433 | If third arg START is non-nil, start search at that index in STRING.\n\ |
| 432 | For index of first char beyond the match, do (match-end 0).\n\ | 434 | For index of first char beyond the match, do (match-end 0).\n\ |
| 433 | `match-end' and `match-beginning' also give indices of substrings\n\ | 435 | `match-end' and `match-beginning' also give indices of substrings\n\ |