#1144083 nvi: Non-[:alnum:] character classes are interpreted as [:alnum:]

Package:
nvi
Source:
nvi
Description:
4.4BSD re-implementation of vi
Submitter:
cr
Date:
2026-08-11 00:25:01 UTC
Severity:
normal
#1144083#5
Date:
2026-08-10 20:09:12 UTC
From:
To:
Character classes such as [:blank:], [:punct:], etc
are incorrectly interpreted as [:alnum:].
This also applies to negated classes,
e.g., [![:alnum:]] is intepreted as [[:alnum:]].
Stackexchange has an old report of the bug
and this answer has a suggested fix.
https://unix.stackexchange.com/a/171578

#1144083#10
Date:
2026-08-11 00:22:57 UTC
From:
To:
Scratch the part about negations.
I confused globbing and regex syntax.