re_syntax has incorrect description of [:print:] class.
Closed / Fixed1614687fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-12-13 10:40:26
As a result of 1376892, the matching behaviour of the :print: class was changed.
Currently the manual page states that :print: is the same as :alnum: which is not the case.
() 33 % regexp {[[:print:]]} {.}
1
() 34 % regexp {[[:alnum:]]} {.}
0
() 35 % info patchlevel
8.5a6
If I read the bug 1376892 and the POSIX definition correctly, :print: is equivalent to :graph: + the space character (e.g. no other whitespace like \t or \n)
dgp Ticket [1614687fff]: 2 changes
[History diff]2007-01-30 00:06:58
dkfplain2007-02-13 21:49:18
Logged In: YES user_id=79902 Originator: NO Fixed in HEAD.
Log in (anonymous is fine) to add a comment.