Package: less
Version: 436-1
Severity: minor

When searching for lines starting with some characters, less also sometimes
hilight parts which match the regexp, except for that they do not start at
the start of the line.

Searching itself is not effected. Searching for the previous or next matching
line works as expected.

Used search queries:
- /^[^ ]....
- /^[a-z]....

Reproducing works good on large text-files, e.g. /usr/share/common-licenses/GPL

Open the file, and scroll to the end (use key 'G').

(one of the incorrect hilights start exactly 3 KB before the end of the file,
 so I assume the ^ in my search query matched the start of the buffer at that
 time, and not the \n)


-- System Information:
Debian Release: 6.0.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-4-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages less depends on:
ii  debianutils               3.4            Miscellaneous utilities specific t
ii  libc6                     2.11.3-4       Embedded GNU C Library: Shared lib
ii  libncurses5               5.7+20100313-5 shared libraries for terminal hand

less recommends no packages.

less suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to