]> git.eshelyaron.com Git - emacs.git/commitdiff
(string_match_1): Pass the POSIX arg to compile_pattern.
authorRichard M. Stallman <rms@gnu.org>
Wed, 25 Oct 1995 19:33:48 +0000 (19:33 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 25 Oct 1995 19:33:48 +0000 (19:33 +0000)
src/search.c

index 7813ca67ec592cdf961d308f9c17b335f09ec423..c426fe91833966358a1456281efe32952d77f13d 100644 (file)
@@ -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,