diff options
| author | Phil Pennock <zsh-workers+phil.pennock@spodhuis.org> | 2017-08-10 22:02:46 -0400 |
|---|---|---|
| committer | Peter Stephenson <pws@zsh.org> | 2017-08-11 15:02:06 +0100 |
| commit | b5f40f415668be88f451dbce956597e77f1bc056 (patch) | |
| tree | 350018db66f2bbcab67bd496dd938d0b19018ad3 /Test/V07pcre.ztst | |
| parent | unposted: fix README typo (diff) | |
| download | zsh-b5f40f415668be88f451dbce956597e77f1bc056.tar zsh-b5f40f415668be88f451dbce956597e77f1bc056.tar.gz zsh-b5f40f415668be88f451dbce956597e77f1bc056.tar.bz2 zsh-b5f40f415668be88f451dbce956597e77f1bc056.tar.lz zsh-b5f40f415668be88f451dbce956597e77f1bc056.tar.xz zsh-b5f40f415668be88f451dbce956597e77f1bc056.tar.zst zsh-b5f40f415668be88f451dbce956597e77f1bc056.zip | |
41527 (tweaked for heap memory): fix [[ -<cond> ]] from modules
Diffstat (limited to 'Test/V07pcre.ztst')
| -rw-r--r-- | Test/V07pcre.ztst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Test/V07pcre.ztst b/Test/V07pcre.ztst index 7426e7bf8..ab41d33dc 100644 --- a/Test/V07pcre.ztst +++ b/Test/V07pcre.ztst @@ -137,6 +137,15 @@ 0:ensure ASCII NUL passes in and out of matched plaintext >6; 3; 3 +# Ensure the long-form infix operator works + [[ foo -pcre-match ^f..$ ]] + print $? + [[ foo -pcre-match ^g..$ ]] + print $? +0:infix -pcre-match works +>0 +>1 + # Subshell because crash on failure ( setopt re_match_pcre [[ test.txt =~ '^(.*_)?(test)' ]] |
