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

	<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-01-08T21:20:07-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-01-08T21:20:07-04:00</updated>

		<published>2006-01-08T21:20:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59276#p59276</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59276#p59276"/>
		<title type="html"><![CDATA[Regexp doesn`t work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59276#p59276"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>.set errorInfo</code></pre></div>Paste output.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun Jan 08, 2006 9:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2006-01-08T14:02:07-04:00</updated>

		<published>2006-01-08T14:02:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59262#p59262</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59262#p59262"/>
		<title type="html"><![CDATA[Regexp doesn`t work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59262#p59262"><![CDATA[
Doesn`t work = Bot do not sends any msg to channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Sun Jan 08, 2006 2:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-01-08T10:07:13-04:00</updated>

		<published>2006-01-08T10:07:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59247#p59247</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59247#p59247"/>
		<title type="html"><![CDATA[Regexp doesn`t work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59247#p59247"><![CDATA[
I suppressed the comment last time, but "<strong class="text-strong">Doesn't work</strong>" is no error description and therefore it won't help us to help you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sun Jan 08, 2006 10:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2006-01-08T09:54:23-04:00</updated>

		<published>2006-01-08T09:54:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59243#p59243</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59243#p59243"/>
		<title type="html"><![CDATA[Regexp doesn`t work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59243#p59243"><![CDATA[
There are html codes for examples, but If I use it doesnt work, only works with 1 regexp.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Sun Jan 08, 2006 9:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-01-08T08:51:43-04:00</updated>

		<published>2006-01-08T08:51:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59236#p59236</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59236#p59236"/>
		<title type="html"><![CDATA[Regexp doesn`t work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59236#p59236"><![CDATA[
what does not work there? All is all, there is no more. If you make another regexp on the same string it will beginng from start again and they might even return the same depending on the source. <br>Maybe you should write more about what you expect of the 1st and 2nd regexp.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sun Jan 08, 2006 8:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2006-01-07T07:39:16-04:00</updated>

		<published>2006-01-07T07:39:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59190#p59190</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59190#p59190"/>
		<title type="html"><![CDATA[Regexp doesn`t work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59190#p59190"><![CDATA[
If i use one regexp with "set all" it works, but if I try to use more than 1 it doesn`t work, why?<br><br><div class="codebox"><p>Code: </p><pre><code>package require httpbind pub - !news www:newsproc www:news {nick host handle chan text} {   set token [::http::geturl http://www.sensiblesoccer.de/index.php?lng=en -timeout 10000]   set status [::http::status $token]   if {$status!="ok"} {      switch -exact -- [string tolower $status] {         reset   { puthelp "PRIVMSG $chan :error: server connection was reset." }         timeout { puthelp "PRIVMSG $chan :error: server timeout (10 seconds)"   }         default { puthelp "PRIVMSG $chan :unknown server error occured"      }      }      ::http::cleanup $token; return   }   if {[::http::ncode $token]=="404"} {      ::http::cleanup $token      puthelp "PRIVMSG $chan :Sorry, error 404"; return   }   set data [::http::data $token]; ::http::cleanup $token   set all [regexp -all -inline -nocase -- {&lt;td class="medium"&gt;&lt;b class="marker"&gt;(.*?)&lt;/font&gt;&lt;/td&gt;} $data]   set count 1   foreach {tmp t} $all {      if {$count=="4"} {return}       incr count   }set all2 [regexp -all -inline -nocase -- {&lt;td class="medium"&gt;&lt;b class="marker"&gt;(.*?)&lt;/} $data]set count 1   foreach {tmp t2} $all {      if {$count=="4"} {return}puthelp "PRIVMSG $chan :($count) $t $t2"}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Sat Jan 07, 2006 7:39 am</p><hr />
]]></content>
	</entry>
	</feed>
