Mercurial > emacs
comparison src/search.c @ 29335:1fa96662f8ca
(Fre_search_forward, Fre_search_backward)
(Fposix_search_backward, Fposix_search_forward): Fix newlines in doc.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Wed, 31 May 2000 18:51:08 +0000 |
parents | 505deeadeb1f |
children | a3dc5f987e8f |
comparison
equal
deleted
inserted
replaced
29334:28b2f517c240 | 29335:1fa96662f8ca |
---|---|
2091 An optional second argument bounds the search; it is a buffer position.\n\ | 2091 An optional second argument bounds the search; it is a buffer position.\n\ |
2092 The match found must start at or after that position.\n\ | 2092 The match found must start at or after that position.\n\ |
2093 Optional third argument, if t, means if fail just return nil (no error).\n\ | 2093 Optional third argument, if t, means if fail just return nil (no error).\n\ |
2094 If not nil and not t, move to limit of search and return nil.\n\ | 2094 If not nil and not t, move to limit of search and return nil.\n\ |
2095 Optional fourth argument is repeat count--search for successive occurrences.\n\ | 2095 Optional fourth argument is repeat count--search for successive occurrences.\n\ |
2096 See also the functions `match-beginning', `match-end', `match-string', | 2096 See also the functions `match-beginning', `match-end', `match-string',\n\ |
2097 and `replace-match'.") | 2097 and `replace-match'.") |
2098 (regexp, bound, noerror, count) | 2098 (regexp, bound, noerror, count) |
2099 Lisp_Object regexp, bound, noerror, count; | 2099 Lisp_Object regexp, bound, noerror, count; |
2100 { | 2100 { |
2101 return search_command (regexp, bound, noerror, count, -1, 1, 0); | 2101 return search_command (regexp, bound, noerror, count, -1, 1, 0); |
2108 An optional second argument bounds the search; it is a buffer position.\n\ | 2108 An optional second argument bounds the search; it is a buffer position.\n\ |
2109 The match found must not extend after that position.\n\ | 2109 The match found must not extend after that position.\n\ |
2110 Optional third argument, if t, means if fail just return nil (no error).\n\ | 2110 Optional third argument, if t, means if fail just return nil (no error).\n\ |
2111 If not nil and not t, move to limit of search and return nil.\n\ | 2111 If not nil and not t, move to limit of search and return nil.\n\ |
2112 Optional fourth argument is repeat count--search for successive occurrences.\n\ | 2112 Optional fourth argument is repeat count--search for successive occurrences.\n\ |
2113 See also the functions `match-beginning', `match-end', `match-string', | 2113 See also the functions `match-beginning', `match-end', `match-string',\n\ |
2114 and `replace-match'.") | 2114 and `replace-match'.") |
2115 (regexp, bound, noerror, count) | 2115 (regexp, bound, noerror, count) |
2116 Lisp_Object regexp, bound, noerror, count; | 2116 Lisp_Object regexp, bound, noerror, count; |
2117 { | 2117 { |
2118 return search_command (regexp, bound, noerror, count, 1, 1, 0); | 2118 return search_command (regexp, bound, noerror, count, 1, 1, 0); |
2128 An optional second argument bounds the search; it is a buffer position.\n\ | 2128 An optional second argument bounds the search; it is a buffer position.\n\ |
2129 The match found must start at or after that position.\n\ | 2129 The match found must start at or after that position.\n\ |
2130 Optional third argument, if t, means if fail just return nil (no error).\n\ | 2130 Optional third argument, if t, means if fail just return nil (no error).\n\ |
2131 If not nil and not t, move to limit of search and return nil.\n\ | 2131 If not nil and not t, move to limit of search and return nil.\n\ |
2132 Optional fourth argument is repeat count--search for successive occurrences.\n\ | 2132 Optional fourth argument is repeat count--search for successive occurrences.\n\ |
2133 See also the functions `match-beginning', `match-end', `match-string', | 2133 See also the functions `match-beginning', `match-end', `match-string',\n\ |
2134 and `replace-match'.") | 2134 and `replace-match'.") |
2135 (regexp, bound, noerror, count) | 2135 (regexp, bound, noerror, count) |
2136 Lisp_Object regexp, bound, noerror, count; | 2136 Lisp_Object regexp, bound, noerror, count; |
2137 { | 2137 { |
2138 return search_command (regexp, bound, noerror, count, -1, 1, 1); | 2138 return search_command (regexp, bound, noerror, count, -1, 1, 1); |
2146 An optional second argument bounds the search; it is a buffer position.\n\ | 2146 An optional second argument bounds the search; it is a buffer position.\n\ |
2147 The match found must not extend after that position.\n\ | 2147 The match found must not extend after that position.\n\ |
2148 Optional third argument, if t, means if fail just return nil (no error).\n\ | 2148 Optional third argument, if t, means if fail just return nil (no error).\n\ |
2149 If not nil and not t, move to limit of search and return nil.\n\ | 2149 If not nil and not t, move to limit of search and return nil.\n\ |
2150 Optional fourth argument is repeat count--search for successive occurrences.\n\ | 2150 Optional fourth argument is repeat count--search for successive occurrences.\n\ |
2151 See also the functions `match-beginning', `match-end', `match-string', | 2151 See also the functions `match-beginning', `match-end', `match-string',\n\ |
2152 and `replace-match'.") | 2152 and `replace-match'.") |
2153 (regexp, bound, noerror, count) | 2153 (regexp, bound, noerror, count) |
2154 Lisp_Object regexp, bound, noerror, count; | 2154 Lisp_Object regexp, bound, noerror, count; |
2155 { | 2155 { |
2156 return search_command (regexp, bound, noerror, count, 1, 1, 1); | 2156 return search_command (regexp, bound, noerror, count, 1, 1, 1); |