aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/search.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/search.c b/src/search.c
index 567270a84cb..ec076c18035 100644
--- a/src/search.c
+++ b/src/search.c
@@ -353,8 +353,8 @@ data if you want to preserve them. */)
353} 353}
354 354
355DEFUN ("posix-looking-at", Fposix_looking_at, Sposix_looking_at, 1, 1, 0, 355DEFUN ("posix-looking-at", Fposix_looking_at, Sposix_looking_at, 1, 1, 0,
356 doc: /* Return t if text after point matches regular expression REGEXP. 356 doc: /* Return t if text after point matches REGEXP according to Posix rules.
357Find the longest match, in accord with Posix regular expression rules. 357Find the longest match, in accordance with Posix regular expression rules.
358This function modifies the match data that `match-beginning', 358This function modifies the match data that `match-beginning',
359`match-end' and `match-data' access; save and restore the match 359`match-end' and `match-data' access; save and restore the match
360data if you want to preserve them. */) 360data if you want to preserve them. */)
@@ -449,7 +449,7 @@ matched by the parenthesis constructions in REGEXP. */)
449} 449}
450 450
451DEFUN ("posix-string-match", Fposix_string_match, Sposix_string_match, 2, 3, 0, 451DEFUN ("posix-string-match", Fposix_string_match, Sposix_string_match, 2, 3, 0,
452 doc: /* Return index of start of first match for REGEXP in STRING, or nil. 452 doc: /* Return index of start of first match for Posix REGEXP in STRING, or nil.
453Find the longest match, in accord with Posix regular expression rules. 453Find the longest match, in accord with Posix regular expression rules.
454Case is ignored if `case-fold-search' is non-nil in the current buffer. 454Case is ignored if `case-fold-search' is non-nil in the current buffer.
455If third arg START is non-nil, start search at that index in STRING. 455If third arg START is non-nil, start search at that index in STRING.
@@ -2276,7 +2276,7 @@ and `replace-match'. */)
2276 2276
2277DEFUN ("posix-search-backward", Fposix_search_backward, Sposix_search_backward, 1, 4, 2277DEFUN ("posix-search-backward", Fposix_search_backward, Sposix_search_backward, 1, 4,
2278 "sPosix search backward: ", 2278 "sPosix search backward: ",
2279 doc: /* Search backward from point for match for regular expression REGEXP. 2279 doc: /* Search backward from point for match for REGEXP according to Posix rules.
2280Find the longest match in accord with Posix regular expression rules. 2280Find the longest match in accord with Posix regular expression rules.
2281Set point to the beginning of the occurrence found, and return point. 2281Set point to the beginning of the occurrence found, and return point.
2282An optional second argument bounds the search; it is a buffer position. 2282An optional second argument bounds the search; it is a buffer position.
@@ -2304,7 +2304,7 @@ and `replace-match'. */)
2304 2304
2305DEFUN ("posix-search-forward", Fposix_search_forward, Sposix_search_forward, 1, 4, 2305DEFUN ("posix-search-forward", Fposix_search_forward, Sposix_search_forward, 1, 4,
2306 "sPosix search: ", 2306 "sPosix search: ",
2307 doc: /* Search forward from point for regular expression REGEXP. 2307 doc: /* Search forward from point for REGEXP according to Posix rules.
2308Find the longest match in accord with Posix regular expression rules. 2308Find the longest match in accord with Posix regular expression rules.
2309Set point to the end of the occurrence found, and return point. 2309Set point to the end of the occurrence found, and return point.
2310An optional second argument bounds the search; it is a buffer position. 2310An optional second argument bounds the search; it is a buffer position.