Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

bug? in textutil::splitx only first parantheses captured.
I was thinking about a new split variant for tcllib's textutil package
(as proposed by Donald Arseneau).  So I checked textutil and found
that it already contained a splitx.  I tested it and found it would
not work correct --- as I understand its specification.

It only captures the first parantheses of the separator.

When You do [textutil::splitx "a b c" "( (b) )"] You will get
a [list a { b } c] instead of a [list a { b } b c] as I'd expect.

Is this a feature or a bug?

Regards, Robert S.

P.S.: Of course I did try to create a splitx that captures all
parantheses of the separator correctly.  I succeeded, but had some
problems with the regexp command, I will do a separate post on that.

Report this thread to moderator Post Follow-up to this message
Old Post
Klaus Robert Suetterlin From:
07-29-04 08:58 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Tcl archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:28 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.