summaryrefslogtreecommitdiffstats
path: root/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'match.c')
-rw-r--r--match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/match.c b/match.c
index a7a22f4b..a8e12494 100644
--- a/match.c
+++ b/match.c
@@ -1626,7 +1626,7 @@ static val do_match_line(match_line_ctx *c)
break;
}
case COBJ:
- if (elem->co.cls == regex_s) {
+ if (elem->co.cls == regex_cls) {
val past = match_regex(c->dataline, elem, c->pos);
if (nilp(past)) {
LOG_MISMATCH("regex");