[Tcl-bugs] [ tcl-Bugs-1614687 ] re_syntax has incorrect description of [:print:] class.
by SourceForge.net other posts by this author
Dec 13 2006 2:40AM messages near this date
[Tcl-bugs] tcl-cvs: "tcl/generic tclBasic.c tclCompExpr.c tclCompile.h" modified
|
[Tcl-bugs] tktable-cvs: "tile/demos demo.tcl" modified
Bugs item #1614687, was opened at 2006-12-13 10:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1614687&group_id=10894
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: 42. Regexp
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mark Janssen (mpc_janssen)
Assigned to: Pavel Goran (pvgoran)
Summary: re_syntax has incorrect description of [:print:] class.
Initial Comment:
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 :grap
h: + the space character (e.g. no other whitespace like \t or \n)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1614687&group_id=10894
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tcl-Bugs mailing list
Tcl-Bugs@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-bugs
|