diff options
author | Richard M. Stallman <[email protected]> | 1995-10-25 19:33:48 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1995-10-25 19:33:48 +0000 |
commit | 24b704fa6e80f7eae66bfcbb38857b9cf0bc214b (patch) | |
tree | 5813a82ded9d74dbcea59d0f7a1b1b0741672135 /src/search.c | |
parent | ea18e2846dc75fa31d0b53b7953e6fc1b8012153 (diff) |
(string_match_1): Pass the POSIX arg to compile_pattern.
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c index 7813ca67ec..c426fe9183 100644 --- a/src/search.c +++ b/src/search.c @@ -309,7 +309,7 @@ string_match_1 (regexp, string, start, posix) bufp = compile_pattern (regexp, &search_regs, (!NILP (current_buffer->case_fold_search) ? DOWNCASE_TABLE : 0), - 0); + posix); immediate_quit = 1; val = re_search (bufp, (char *) XSTRING (string)->data, XSTRING (string)->size, s, XSTRING (string)->size - s, |