Package: enscript
Version: 1.6.4-7
Severity: normal

*** Please type your report below this line ***

enscript doesn't highlight some regular expressions correctly. For
example, these commands produce wrong highlighting: there are no
comments, but the second line and half of the first are formatted as
if they were in a comment.

echo 'var re=/\/*/g;' > test.js; echo 'var notComment;' >> test.js
enscript -Ejavascript --color -p - < test.js | gv -

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages enscript depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libpaper1                     1.1.14-3   Library for handling paper charact

enscript recommends no packages.

-- no debconf information

Reply via email to