<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/7805" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2004-07-01T11:41:30-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/7805</id>

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-07-01T11:41:30-04:00</updated>

		<published>2004-07-01T11:41:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38098#p38098</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38098#p38098"/>
		<title type="html"><![CDATA[regexp -all bad switch? why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38098#p38098"><![CDATA[
Didn't he wanted the regexp not regsub? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Jul 01, 2004 11:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-01T02:22:19-04:00</updated>

		<published>2004-07-01T02:22:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38069#p38069</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38069#p38069"/>
		<title type="html"><![CDATA[regexp -all bad switch? why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38069#p38069"><![CDATA[
Oic... thanks again... I will look that up in the<br>manual as well.. good command to use to<br>so I can change regsub to string map.<br><br>regsub is slow and string manipulation<br>commands are fast as we know.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Jul 01, 2004 2:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-06-30T17:32:19-04:00</updated>

		<published>2004-06-30T17:32:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38064#p38064</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38064#p38064"/>
		<title type="html"><![CDATA[regexp -all bad switch? why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38064#p38064"><![CDATA[
i ment string map, you use it like this:<div class="codebox"><p>Code: </p><pre><code>set str [string map {"b" "B"} "abcd"]</code></pre></div>and it'll replace the 'b' with a 'B'<br><br>thats doing the same as:<div class="codebox"><p>Code: </p><pre><code>regsub -all "b" "abcd" "B" str</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Wed Jun 30, 2004 5:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-30T17:18:41-04:00</updated>

		<published>2004-06-30T17:18:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38063#p38063</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38063#p38063"/>
		<title type="html"><![CDATA[regexp -all bad switch? why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38063#p38063"><![CDATA[
string map?<br><br>or did you mean<br><br>string match?<br><br>I am aware with what string match does (similar to regexp -all)<br>but have no idea of string map.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Wed Jun 30, 2004 5:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-06-30T17:07:46-04:00</updated>

		<published>2004-06-30T17:07:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38062#p38062</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38062#p38062"/>
		<title type="html"><![CDATA[regexp -all bad switch? why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38062#p38062"><![CDATA[
you can always use string map ...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Wed Jun 30, 2004 5:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-30T15:48:46-04:00</updated>

		<published>2004-06-30T15:48:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38057#p38057</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38057#p38057"/>
		<title type="html"><![CDATA[regexp -all bad switch? why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38057#p38057"><![CDATA[
Thanks... for letting me know.<br>I'll insist my admin to upgrade to the newer versions<br>as the regexp -all is quite a usefull and common command<br>and I need to use it in quite alot of my tcls  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Wed Jun 30, 2004 3:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-06-29T17:02:30-04:00</updated>

		<published>2004-06-29T17:02:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38030#p38030</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38030#p38030"/>
		<title type="html"><![CDATA[regexp -all bad switch? why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38030#p38030"><![CDATA[
As the manual page for Tcl 8.2 indicates, it doesn't have a -all trigger (In Tcl 8.2, that is. Tcl 8.3 and up have it.).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4046">dollar</a> — Tue Jun 29, 2004 5:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-29T14:52:30-04:00</updated>

		<published>2004-06-29T14:52:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38027#p38027</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38027#p38027"/>
		<title type="html"><![CDATA[regexp -all bad switch? why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38027#p38027"><![CDATA[
Hi,<br><br>I have some tcl problem.<br>The shell server I use has the following tcl versions<br><div class="codebox"><p>Code: </p><pre><code>[15:48] TCL Version: 8.2[15:48] TCL Patchlevel: 8.2.3</code></pre></div>I am using a script which utilizes regular expressions.<br>Using 'regexp -all'.<br><br>When I execute the script it says -all is a bad switch.<br>And use others such as -nocase, -indices and bla bla.<br><br>What can be the problem? The tcl version? It doesn't<br>support regexp -all.<br><br>When I simply use regexp without any switches it works<br>fine or with all other switches except -all. Even regular<br>substitions, regsub -all works fine... but why not regexp -all?<br><br>Does anyone know the answer, maybe?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Jun 29, 2004 2:52 pm</p><hr />
]]></content>
	</entry>
	</feed>
