(extract_regexp): Set re_syntax_options to a

value that is compatible with what POSIX requires.
This commit is contained in:
Paul Eggert committed 2006-04-12 07:14:53 +00:00
1 parent f666da6f32
commit 2a75bb4ae0
1 file changed
+1
+1
View File
@@ -1121,6 +1121,7 @@ extract_regexp (int argnum, bool ignore, char const *str)
p->re_compiled.allocated = 0;
p->re_compiled.fastmap = p->fastmap;
p->re_compiled.translate = NULL;
re_syntax_options = RE_SYNTAX_POSIX_BASIC & ~RE_CONTEXT_INVALID_DUP;
err = re_compile_pattern (str + 1, len, &p->re_compiled);
if (err)
{