mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-05-21 07:26:05 +02:00
19269: 8-bit characters in character classes
This commit is contained in:
parent
b456768681
commit
7d672455bb
|
@ -1,3 +1,9 @@
|
|||
2003-12-03 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 19269: Src/pattern.c, Misc/globtests, Test/D02glob.ztst:
|
||||
8-bit characters didn't work in character classes where
|
||||
chars were signed.
|
||||
|
||||
2003-11-28 Doug Kearns <djkea2@mugca.its.monash.edu.au>
|
||||
|
||||
* unposted: Completion/Unix/Command/_elinks: update for version 0.4.3
|
||||
|
|
|
@ -179,5 +179,6 @@ f atest/path *((#s)|/)test((#e)|/)*
|
|||
f path/testy *((#s)|/)test((#e)|/)*
|
||||
f path/testy/ohyes *((#s)|/)test((#e)|/)*
|
||||
f path/atest/ohyes *((#s)|/)test((#e)|/)*
|
||||
t bj<62>n *[裝<>トヨ]*
|
||||
EOT
|
||||
print "$failed tests failed."
|
||||
|
|
|
@ -2265,7 +2265,7 @@ patmatchrange(char *range, int ch)
|
|||
DPUTS(1, "BUG: unknown metacharacter in range.");
|
||||
break;
|
||||
}
|
||||
} else if (*range == ch)
|
||||
} else if (STOUC(*range) == ch)
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
|
|
@ -174,6 +174,7 @@
|
|||
>1: [[ path/testy = *((#s)|/)test((#e)|/)* ]]
|
||||
>1: [[ path/testy/ohyes = *((#s)|/)test((#e)|/)* ]]
|
||||
>1: [[ path/atest/ohyes = *((#s)|/)test((#e)|/)* ]]
|
||||
>0: [[ bj<62>n = *[裝<>トヨ]* ]]
|
||||
>0 tests failed.
|
||||
|
||||
globtest globtests.ksh
|
||||
|
|
Loading…
Reference in New Issue