diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2016-01-08 20:42:00 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2016-01-08 20:42:00 -0800 |
commit | 5eae5b58b1b99946e14ac8ddc54dc14189a56a6c (patch) | |
tree | 40bf9b5f043c3351f160bcc1805e05a85144b860 /Test/V07pcre.ztst | |
parent | 424b417063b50173bbd9dcf8a8252b281dcbcd50 (diff) | |
download | zsh-5eae5b58b1b99946e14ac8ddc54dc14189a56a6c.tar.gz zsh-5eae5b58b1b99946e14ac8ddc54dc14189a56a6c.tar.xz zsh-5eae5b58b1b99946e14ac8ddc54dc14189a56a6c.zip |
Jun T.: 37515: multibyte handling as per 35448.
Diffstat (limited to 'Test/V07pcre.ztst')
-rw-r--r-- | Test/V07pcre.ztst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/V07pcre.ztst b/Test/V07pcre.ztst index ddfd3f5cd..39077564c 100644 --- a/Test/V07pcre.ztst +++ b/Test/V07pcre.ztst @@ -37,6 +37,17 @@ >o→b >→ + unset match mend + s=$'\u00a0' + [[ $s =~ '^.$' ]] && print OK + [[ A${s}B =~ .(.). && $match[1] == $s ]] && print OK + [[ A${s}${s}B =~ A([^[:ascii:]]*)B && $mend[1] == 3 ]] && print OK + unset s +0:Raw IMETA characters in input string +>OK +>OK +>OK + [[ foo =~ f.+ ]] ; print $? [[ foo =~ x.+ ]] ; print $? [[ ! foo =~ f.+ ]] ; print $? |