[Pkg-tcltk-devel] Bug#723090: Bug#723090: tcl8.5: [:cntrl:] character class does not include 0x00-0x1f

Andrew Shadura bugzilla at tut.by
Mon Sep 16 13:08:47 UTC 2013


Hello,

On Mon, 16 Sep 2013 16:52:23 +0400
Sergei Golovan <sgolovan at nes.ru> wrote:

> Hi Bruce,
> 
> On Mon, Sep 16, 2013 at 2:29 PM, Bruce Stephens
> <bruce.stephens at isode.com> wrote:
> >
> > Dear Maintainer,
> >
> > I have an expect script that tries to match ([^[:cntrl:]]*), and it
> > also matches the CRs at the end of a line.  On inspection, that's
> > because controlRangeTable[] and controlCharTable[] do not contain
> > the normal ASCII control characters (which I think are also Unicode
> > control characters).  In tcl8.4, they are included (though by the
> > looks of it it's only ASCII since it only seems to include 0x0-0x1f
> > and 0x7f-0x9f).

> This seems like a bug, but I tried to run [regexp {[[:cntrl:]]} "\r"]
> and got the same result both for Tcl 8.5.14. and 8.4.20. It seems
> that the regression was for both 8.5 and 8.4. We'll forward the bug
> upstream.

Also see

http://core.tcl.tk/tcl/info/a876646efe

It seems to be fixed in 8.5.15.

-- 
WBR, Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/attachments/20130916/2a402d4f/attachment-0001.sig>


More information about the Pkg-tcltk-devel mailing list