Package: zsh
Version: 4.2.5-5
Severity: normal

4.2.5-4 didn't show this behaviour, so maybe it's the newest patch.
${${foo}/?*/replacement} puts replacement in the prompt even when foo is empty
${foo/?*/replacement} works as expected.

On the command line, echo ${...} works as expected for both expressions,
printing nothing when foo is the empty string.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages zsh depends on:
ii  debconf                 1.4.48           Debian configuration management sy
ii  libc6                   2.3.2.ds1-21     GNU C Library: Shared libraries an
ii  libncurses5             5.4-4            Shared libraries for terminal hand
ii  passwd                  1:4.0.3-31sarge3 change and administer password and

-- 
Michał Politowski
Talking has been known to lead to communication if practised carelessly.

Attachment: signature.asc
Description: Digital signature

Reply via email to