<?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/8314" />

	<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-09-20T19:41:39-04:00</updated>

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

		<entry>
		<author><name><![CDATA[droolin]]></name></author>
		<updated>2004-09-20T19:41:39-04:00</updated>

		<published>2004-09-20T19:41:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41064#p41064</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41064#p41064"/>
		<title type="html"><![CDATA[thank you]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41064#p41064"><![CDATA[
Thank you, that worked great.  Ya know, most of the time when i see something like that.  I understand it.  This one, I dont understand it all.  <div class="codebox"><p>Code: </p><pre><code>regsub -all \[:0-9\]{1,} [lrange $text 5 e] "" namecheck </code></pre></div>1. why the back slash's?  I dont see any escape characters?  Or is that because of the enclosure of the search argument in the []'s?<br>2. What does the {1,} do?  That one I have no idea on.  Not a clue.<br><br>Thank you again, the help was very much appriceated.<br><br>droolin<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3562">droolin</a> — Mon Sep 20, 2004 7:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-09-19T23:33:57-04:00</updated>

		<published>2004-09-19T23:33:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41027#p41027</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41027#p41027"/>
		<title type="html"><![CDATA[is there a better way to do this?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41027#p41027"><![CDATA[
add -all switch to regsub<br><div class="codebox"><p>Code: </p><pre><code>regsub -all \[:0-9\]{1,} [lrange $text 5 e] "" namecheck </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Sep 19, 2004 11:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-09-19T23:27:11-04:00</updated>

		<published>2004-09-19T23:27:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41026#p41026</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41026#p41026"/>
		<title type="html"><![CDATA[is there a better way to do this?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41026#p41026"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>regsub \[:0-9\]{1,} [lrange $text 5 e] "" namecheck</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Sep 19, 2004 11:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[droolin]]></name></author>
		<updated>2004-09-19T21:47:25-04:00</updated>

		<published>2004-09-19T21:47:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41025#p41025</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41025#p41025"/>
		<title type="html"><![CDATA[is there a better way to do this?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41025#p41025"><![CDATA[
i have some code that works, but there has to be a better way to do this.  Could anyone offer sugestions?????<br><div class="codebox"><p>Code: </p><pre><code>set namecheck [string map {":" "" "0" "" "1" "" "2" "" "3" "" "4" "" "5" "" "6" "" "7" "" "8" "" "9" ""} [lrange $text 5 end]]</code></pre></div>That line of code looks like crap to me, is there a better way?  regsub????<br><br>Any help is most appriceated.  <br><br>droolin<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3562">droolin</a> — Sun Sep 19, 2004 9:47 pm</p><hr />
]]></content>
	</entry>
	</feed>
