ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> Tcljava-user
Tcljava-user
Re: [tcljava-user] Regsub...
by Mo DeJong other posts by this author
Oct 11 2003 7:37PM messages near this date
[tcljava-user] Regsub... | Re: [tcljava-user] Problem with load and info loaded
On Mon, 06 Oct 2003 15:10:24 +0200
Jean Gilles Pujol <jeapu364@[...].se>  wrote:

>  Hello, 
>  
>  It seems I'm the main question provider those days...
>  
>  Hope this one is relevant.
>  I've seen in the diffs.txt that the Tcl regsub command was fully implemented.
>  
>  However, i run into a problem when I try the following in a jacl shell:
>  
>  regsub -all {('.*?')} $mystring {{\1}} mystring
>  
>  it returns: "couldn't compile regular expression pattern: nested *?+"
>  
>  With tclsh the above command works perfectly...

I think this has to do with the pre 8.3 regexp vs 8.3 and newer regexp.
Jacl supports only the pre 8.3 regexp while tclsh from 8.3 and newer
supports a more perl like regexp package.

cheers
Mo


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
tcljava-user mailing list
tcljava-user@[...].net
https://lists.sourceforge.net/lists/listinfo/tcljava-user
Thread:
Jean Gilles Pujol
Mo DeJong

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved