<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 43: regexp not upgraded in JACL 1.4.0</title><link>https://sourceforge.net/p/tcljava/bugs/43/</link><description>Recent changes to 43: regexp not upgraded in JACL 1.4.0</description><atom:link href="https://sourceforge.net/p/tcljava/bugs/43/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 20 Nov 2006 18:28:12 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/tcljava/bugs/43/feed.rss" rel="self" type="application/rss+xml"/><item><title>regexp not upgraded in JACL 1.4.0</title><link>https://sourceforge.net/p/tcljava/bugs/43/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have worked with the regexp command in 8.4+ version of TCL.  It has many convenient switches and is closer to the standard regular expression syntax that is in use.  When I tried to access the same scripts with Jacl - I get the error saying only -nocase is the only supported switch - this is about 6 years old.  We need support for all the switches (-inline, -lineanchor, -linestop, -all etc).  I have traced it to the Regex class that is being used - which is sunlabs.brazil.util.regexp.Regexp class - which again is obsolete.&lt;/p&gt;
&lt;p&gt;Here are the switches that I am talking about:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.tcl.tk/man/tcl8.3/TclCmd/regexp.htm" rel="nofollow"&gt;http://www.tcl.tk/man/tcl8.3/TclCmd/regexp.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is the exception string that I get on evalFiling the tcl script:&lt;/p&gt;
&lt;p&gt;bad switch "-all": must be -indices, -nocase, or --  The failure is at:&lt;/p&gt;
&lt;p&gt;foreach {login} [regexp -nocase -all -inline -lineanchor -- {^login.+?\n\}} $fileContent] { &lt;/p&gt;
&lt;p&gt;of the script.&lt;/p&gt;
&lt;p&gt;- Sanjeev&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">San</dc:creator><pubDate>Mon, 20 Nov 2006 18:28:12 -0000</pubDate><guid>https://sourceforge.netb65b885e62cdd8fce51326cd5e95551eab41e560</guid></item></channel></rss>