diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2006-04-25 13:01:52 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-04-25 13:01:52 +0000 |
| commit | 20198effd4b511d27fc8f594f23352ff0ff57f2c (patch) | |
| tree | 78fdf946bad48ddef5ccbda93da4bfd41868caf7 /Src | |
| parent | 22427: zle <widget> -w sets the environment for <widget> (diff) | |
| download | zsh-20198effd4b511d27fc8f594f23352ff0ff57f2c.tar zsh-20198effd4b511d27fc8f594f23352ff0ff57f2c.tar.gz zsh-20198effd4b511d27fc8f594f23352ff0ff57f2c.tar.bz2 zsh-20198effd4b511d27fc8f594f23352ff0ff57f2c.tar.lz zsh-20198effd4b511d27fc8f594f23352ff0ff57f2c.tar.xz zsh-20198effd4b511d27fc8f594f23352ff0ff57f2c.tar.zst zsh-20198effd4b511d27fc8f594f23352ff0ff57f2c.zip | |
22429: fix bug with pure string matching
Diffstat (limited to 'Src')
| -rw-r--r-- | Src/pattern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/pattern.c b/Src/pattern.c index 8f8b25610..b547bdc14 100644 --- a/Src/pattern.c +++ b/Src/pattern.c @@ -1137,7 +1137,7 @@ patcomppiece(int *flagp) * ..(#a1).. (i.e. the (#a1) has no effect), but if you're * going to write funny patterns, you get no sympathy from me. */ - if (patglobflags) { + if (patglobflags & (0xFF|GF_LCMATCHUC|GF_IGNCASE)) { if (!(patflags & PAT_FILE)) flags &= ~P_PURESTR; else if (!(nptr[0] == '.' && |
