summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 9b0d4fca18..d3788c8f16 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -469,7 +469,7 @@ I32 *flagp;
return NULL;
default:
--regparse;
- while (*regparse && strchr("iogmsx", *regparse))
+ while (*regparse && strchr("iogcmsx", *regparse))
pmflag(&regflags, *regparse++);
if (*regparse != ')')
croak("Sequence (?%c...) not recognized", *regparse);