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
|