summaryrefslogtreecommitdiff
path: root/src/regexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexp.c')
-rw-r--r--src/regexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp.c b/src/regexp.c
index bf113daf1..ac60c695a 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -1899,7 +1899,7 @@ regatom(flagp)
br = regnext(br);
}
}
- *flagp &= ~HASWIDTH;
+ *flagp &= ~(HASWIDTH | SIMPLE);
break;
}