Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-02-13
21:49 • Closed ticket [1614687fff]: re_syntax has incorrect description of print: cla... artifact: f3116c95e3 user: dkf
2007-01-30
00:06 • Ticket [1614687fff]: 2 changes artifact: c95c63027e user: dgp
2006-12-13
10:40 • New ticket [1614687fff]. artifact: 1b7aa561f8 user: mpc_janssen

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.