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

	<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>2009-05-08T07:52:43-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Fill]]></name></author>
		<updated>2009-05-08T07:52:43-04:00</updated>

		<published>2009-05-08T07:52:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88695#p88695</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88695#p88695"/>
		<title type="html"><![CDATA[Inverting regsub's functions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88695#p88695"><![CDATA[
ahmmm, nice, thanks a lot!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10430">Fill</a> — Fri May 08, 2009 7:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2009-05-06T14:03:15-04:00</updated>

		<published>2009-05-06T14:03:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88682#p88682</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88682#p88682"/>
		<title type="html"><![CDATA[Inverting regsub's functions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88682#p88682"><![CDATA[
Use <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/regexp.htm" class="postlink">Regexp</a><div class="codebox"><p>Code: </p><pre><code>set txt SomeTextHereregexp -all {Text} $txt new</code></pre></div>$new will contain the match, in this case "Text"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Wed May 06, 2009 2:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fill]]></name></author>
		<updated>2009-05-06T10:55:21-04:00</updated>

		<published>2009-05-06T10:55:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88680#p88680</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88680#p88680"/>
		<title type="html"><![CDATA[Inverting regsub's functions]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88680#p88680"><![CDATA[
Hey guys,<br><br>I'm using regsub to check if a variable matches a regular expression and if it does, regsub will replace the part that matches by what I want and assign that to a new variable<br><br>however, I wanted to make the opposite. I want regsub to assign the part of the variable that matched the regular expression to a variable. How can I do this?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10430">Fill</a> — Wed May 06, 2009 10:55 am</p><hr />
]]></content>
	</entry>
	</feed>
