From 222c7f6f4c6d90ba5668f300517533e691b3edbf Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Sat, 20 Apr 2024 21:50:56 -0700 Subject: [PATCH] Blacklist ?) register --- src/modal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modal.c b/src/modal.c index 28b70a5..ba9a1c5 100644 --- a/src/modal.c +++ b/src/modal.c @@ -104,7 +104,7 @@ match_rule(Rule *r, char *p) rmin = 0xff, rmax = 0x00; } while((c = *a)) { - if(c == '?') { + if(c == '?' && !spacer(c)) { if(!set_reg(*(++a), b)) return NULL; a++, b = walk(b); if(!spacer(*a))