diff options
Diffstat (limited to 'regex.c')
-rw-r--r-- | regex.c | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -1698,7 +1698,7 @@ re_compile_pattern(pattern, size, bufp) PATFETCH_RAW(c); switch (c) { - case 'x': case 'p': case 'm': case 'i': case '-': + case 'x': case 'm': case 'i': case '-': for (;;) { switch (c) { case '-': @@ -1716,18 +1716,6 @@ re_compile_pattern(pattern, size, bufp) options |= RE_OPTION_EXTENDED; break; - case 'p': - if (negative) { - if ((options&RE_OPTION_POSIXLINE) == RE_OPTION_POSIXLINE) { - options &= ~RE_OPTION_POSIXLINE; - } - } - else if ((options&RE_OPTION_POSIXLINE) != RE_OPTION_POSIXLINE) { - options |= RE_OPTION_POSIXLINE; - } - push_option = 1; - break; - case 'm': if (negative) { if (options&RE_OPTION_MULTILINE) { |