Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: clarification on (#U) in pattern matching.



See also:

$ a=été
$ echo ${a%(#U)?}
été
$ echo ${a%%(#U)?}
été
$ echo ${a%(#U)$'\xa9'}
été
$ echo ${a%(#U)?*}
ét

Consistent with the other behaviours but maybe even more confusing.

-- 
Stephane




Messages sorted by: Reverse Date, Date, Thread, Author