summaryrefslogtreecommitdiff
path: root/source/ap/zsh/zsh.regex.oh.bah.diff
blob: 15e3d5b4371123956d44445a2a9217fea212cdd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- ./Src/text.c.orig	2010-09-14 09:46:26.000000000 -0500
+++ ./Src/text.c	2011-03-19 18:50:22.270001467 -0500
@@ -785,8 +785,7 @@
 			    taddstr(" ");
 			    taddstr(ecgetstr(state, EC_NODUP, NULL));
 			    if (ctype == COND_STREQ ||
-				ctype == COND_STRNEQ ||
-				ctype == COND_REGEX)
+				ctype == COND_STRNEQ)
 				state->pc++;
 			} else {
 			    /* Unary test: `-f foo' etc. */