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

	<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>2006-07-18T14:47:37-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-07-18T14:47:37-04:00</updated>

		<published>2006-07-18T14:47:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64699#p64699</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64699#p64699"/>
		<title type="html"><![CDATA[Some help with regex]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64699#p64699"><![CDATA[
Just going by the docs and my own observations:<br><br> An ARE is one or more branches, separated by `|', matching anything that matches any of the branches.<br>                 <br>   A branch is zero or more constraints or quantified atoms, concatenated. It matches a match for the first,  followed by a match for the second, etc; an empty branch matches the empty string.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Jul 18, 2006 2:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-07-18T01:25:37-04:00</updated>

		<published>2006-07-18T01:25:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64689#p64689</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64689#p64689"/>
		<title type="html"><![CDATA[Some help with regex]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64689#p64689"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>% regexp {moo|m00|m0o} moo1% regexp {moo|m00|m0o} mo00% regexp {moo|m00|m0o} m0o1% regexp {moo|m00|m0o} m001</code></pre></div>are you sure about your previous statement rosc2112?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Tue Jul 18, 2006 1:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-07-16T16:20:06-04:00</updated>

		<published>2006-07-16T16:20:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64658#p64658</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64658#p64658"/>
		<title type="html"><![CDATA[Some help with regex]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64658#p64658"><![CDATA[
tcl's regex uses | to *concatenate* strings, not OR them..Maybe that's your problem? It also uses () to capture a segment for reporting... And there's also a -nocase option, so you don't need to search for various cases of "WB"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Jul 16, 2006 4:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-07-10T10:19:08-04:00</updated>

		<published>2006-07-10T10:19:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64579#p64579</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64579#p64579"/>
		<title type="html"><![CDATA[Some help with regex]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64579#p64579"><![CDATA[
Tcl (Tool Command Language) is a different animal to any mIRC "script".<br><br>I suggest you read <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/regexp.htm" class="postlink">Tcl Built-In Commands - regexp manual page</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Jul 10, 2006 10:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[-T-]]></name></author>
		<updated>2006-07-10T10:02:10-04:00</updated>

		<published>2006-07-10T10:02:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64578#p64578</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64578#p64578"/>
		<title type="html"><![CDATA[Some help with regex]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64578#p64578"><![CDATA[
the pattern work in my mirc script. Unless the tcl regex engine is very different from the on used in mirc, it should work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7952">-T-</a> — Mon Jul 10, 2006 10:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-07-09T22:38:26-04:00</updated>

		<published>2006-07-09T22:38:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64571#p64571</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64571#p64571"/>
		<title type="html"><![CDATA[Some help with regex]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64571#p64571"><![CDATA[
<blockquote class="uncited"><div>hmm, I don't see a difference in that code and the one I have myself</div></blockquote>There isn't. I pasted it for the information of others. I am not an expert regexp person but at first glance that looks like it would never function.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun Jul 09, 2006 10:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[-T-]]></name></author>
		<updated>2006-07-09T21:18:27-04:00</updated>

		<published>2006-07-09T21:18:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64570#p64570</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64570#p64570"/>
		<title type="html"><![CDATA[Some help with regex]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64570#p64570"><![CDATA[
hmm, I don't see a difference in that code and the one I have myself<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7952">-T-</a> — Sun Jul 09, 2006 9:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-07-09T22:38:49-04:00</updated>

		<published>2006-07-09T20:44:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64569#p64569</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64569#p64569"/>
		<title type="html"><![CDATA[Some help with regex]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64569#p64569"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {regexp {.*(Wb|wB|wb|WB|GREETINGS|...)(!!| )?(\(|\*).*\)?(!!| )?(Wb|wB|wb|WB|FECKER|... remember this?|\|\|\|).*} $txt == 1} { ... }</code></pre></div>FYI<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun Jul 09, 2006 8:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[-T-]]></name></author>
		<updated>2006-07-09T11:30:13-04:00</updated>

		<published>2006-07-09T11:30:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64561#p64561</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64561#p64561"/>
		<title type="html"><![CDATA[Some help with regex]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64561#p64561"><![CDATA[
there is a problem with the regex I think. It doesn't give me any errors, but it does not do anything even though I know the line of text matches the regex pattern<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7952">-T-</a> — Sun Jul 09, 2006 11:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-07-09T05:20:29-04:00</updated>

		<published>2006-07-09T05:20:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64552#p64552</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64552#p64552"/>
		<title type="html"><![CDATA[Some help with regex]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64552#p64552"><![CDATA[
What is the problem? nobody's going to look it up for you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Jul 09, 2006 5:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[-T-]]></name></author>
		<updated>2006-07-08T20:21:50-04:00</updated>

		<published>2006-07-08T20:21:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64540#p64540</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64540#p64540"/>
		<title type="html"><![CDATA[Some help with regex]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64540#p64540"><![CDATA[
This is my first go at tcl, so bear with me.<br><br>I'm having some problems with a regex function. If someone could take a look at it for me, I would be gratefull <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>The code is kind of long, so I won't paste it here. Take a look at pastebin for it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><a href="http://pastebin.ca/82855" class="postlink">http://pastebin.ca/82855</a><br><br>Thanks again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7952">-T-</a> — Sat Jul 08, 2006 8:21 pm</p><hr />
]]></content>
	</entry>
	</feed>
