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

	<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-08-31T09:46:28-04:00</updated>

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

		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-08-31T09:46:28-04:00</updated>

		<published>2004-08-31T09:46:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40463#p40463</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40463#p40463"/>
		<title type="html"><![CDATA[problem with regsub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40463#p40463"><![CDATA[
I'm not sure if I understand what you're asking for,<br>but the syntax for regsub goes as this:<div class="codebox"><p>Code: </p><pre><code>regsub -all -nocase {find this} $InThisVar {replace it with this} NewVar</code></pre></div>Atleast that should take care of your problem with case...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Tue Aug 31, 2004 9:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bazn]]></name></author>
		<updated>2004-08-31T07:11:14-04:00</updated>

		<published>2004-08-31T07:11:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40450#p40450</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40450#p40450"/>
		<title type="html"><![CDATA[problem with regsub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40450#p40450"><![CDATA[
hi there i have a proc<br><div class="codebox"><p>Code: </p><pre><code>proc highlight_string {strin subject pre past} {    regsub -all $strin $subject "$pre\\0$past" return    return $return}</code></pre></div>now it works fine...  but it must be exactyl the same characters so if <br>the variable for this proc is <br><br>im.not.shure<br><br>and that one which i want to compare with is "Not" it doesn't work, no way to do that it also works with "Not"  and not just with the same character "not" ?<br><br>hope u understand my english <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>so long<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5155">bazn</a> — Tue Aug 31, 2004 7:11 am</p><hr />
]]></content>
	</entry>
	</feed>
