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

	<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-21T07:51:23-04:00</updated>

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

		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2004-08-21T07:51:23-04:00</updated>

		<published>2004-08-21T07:51:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39953#p39953</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39953#p39953"/>
		<title type="html"><![CDATA[regexp question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39953#p39953"><![CDATA[
if you work with { } you dont have to bother escape chars<br>(e.g : set x "he said \"blub\"" = set x {he said "blub"}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Sat Aug 21, 2004 7:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[droolin]]></name></author>
		<updated>2004-08-20T22:37:50-04:00</updated>

		<published>2004-08-20T22:37:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39950#p39950</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39950#p39950"/>
		<title type="html"><![CDATA[hmmmm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39950#p39950"><![CDATA[
ok, when I first testing.  I was using a regular expresion that required escape charachters.  and thats where I really had the problem.<br>Exanoke<div class="codebox"><p>Code: </p><pre><code>{\(Killed \Dabigun}</code></pre></div>so, if I do the set like you showed.  That will take the escape characters also?<br>And thank you very much, I would never have thought to set that variable that way.<br><br><br>droolin<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3562">droolin</a> — Fri Aug 20, 2004 10:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2004-08-20T20:11:12-04:00</updated>

		<published>2004-08-20T20:11:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39947#p39947</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39947#p39947"/>
		<title type="html"><![CDATA[regexp question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39947#p39947"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set FindThis {[A-Z][a-z]+_[0-9][0-9]}regexp $FindThis $text </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Fri Aug 20, 2004 8:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[droolin]]></name></author>
		<updated>2004-08-20T17:55:40-04:00</updated>

		<published>2004-08-20T17:55:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39946#p39946</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39946#p39946"/>
		<title type="html"><![CDATA[regexp question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39946#p39946"><![CDATA[
Could someone provide me with an example of  regexp using the regular expresion stored in a variable?  I have alot of documentation on regular expresions, but I can't seem to find anything with the expresion you are trying to match against being contained in a variable.<br>Example of what Im trying to do:<div class="codebox"><p>Code: </p><pre><code>set FindThis "[A-Z][a-z]+_[0-9][0-9]"regexp $FindThis $text</code></pre></div>Im testing my regular expresions in tclsh.  They work when I hard code them, but never work when I store them in a variable.<br>Any help would be greatly appriceated.<br><br>droolin<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3562">droolin</a> — Fri Aug 20, 2004 5:55 pm</p><hr />
]]></content>
	</entry>
	</feed>
