diff options
Diffstat (limited to 'Src/text.c')
-rw-r--r-- | Src/text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/text.c b/Src/text.c index 03ce59cf7..595ebc346 100644 --- a/Src/text.c +++ b/Src/text.c @@ -640,7 +640,7 @@ gettext2(Estate state) { static char *c1[] = { "=", "!=", "<", ">", "-nt", "-ot", "-ef", "-eq", - "-ne", "-lt", "-gt", "-le", "-ge" + "-ne", "-lt", "-gt", "-le", "-ge", "=~" }; int ctype; @@ -724,7 +724,7 @@ gettext2(Estate state) } break; default: - if (ctype <= COND_GE) { + if (ctype < COND_MOD) { /* Binary test: `a = b' etc. */ taddstr(ecgetstr(state, EC_NODUP, NULL)); taddstr(" "); |