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

	<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>2005-05-19T14:33:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ex]]></name></author>
		<updated>2005-05-19T14:33:13-04:00</updated>

		<published>2005-05-19T14:33:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49613#p49613</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49613#p49613"/>
		<title type="html"><![CDATA[regex problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49613#p49613"><![CDATA[
solved.<br>the { } still needs the escape of ?<br><br>i missunderstood this.<br><br><br>thank you all<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6242">ex</a> — Thu May 19, 2005 2:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ex]]></name></author>
		<updated>2005-05-19T14:21:17-04:00</updated>

		<published>2005-05-19T14:21:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49612#p49612</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49612#p49612"/>
		<title type="html"><![CDATA[regex problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49612#p49612"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>return [regexp {&lt;/tt&gt;: &lt;a class="link" href="http://www.eggheads.org/redirect.php?url=(.+)"&gt;(.+)&lt;/a&gt;} {004 ]&lt;/tt&gt;: &lt;a class="link" href="http://www.eggheads.org/redirect.php?url=http://www.eggheads.org/news/2004/08/23/31"&gt;Eggdrop 1.6.17 released&lt;/a&gt;&lt;br} tmp url news];</code></pre></div>ok i changed it. but still it returns 0 after entering long strings.<br><br><br><br>the following works fine:<div class="codebox"><p>Code: </p><pre><code>return [regexp {lala(.+)la(.+)a} {lala123lala}]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6242">ex</a> — Thu May 19, 2005 2:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ex]]></name></author>
		<updated>2005-05-19T10:39:49-04:00</updated>

		<published>2005-05-19T10:39:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49610#p49610</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49610#p49610"/>
		<title type="html"><![CDATA[regex problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49610#p49610"><![CDATA[
argh. damn must have overseen it in the manual.<br><br><br>grml then it is quite clear why i tried 4 hours with no result.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6242">ex</a> — Thu May 19, 2005 10:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-05-19T10:32:20-04:00</updated>

		<published>2005-05-19T10:32:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49609#p49609</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49609#p49609"/>
		<title type="html"><![CDATA[regex problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49609#p49609"><![CDATA[
the ? it makes it stop after the first match.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Thu May 19, 2005 10:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-05-19T03:41:08-04:00</updated>

		<published>2005-05-19T03:41:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49597#p49597</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49597#p49597"/>
		<title type="html"><![CDATA[regex problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49597#p49597"><![CDATA[
you forgot to escape "?" in the html code. btw. you should use {} braces around the re expressions, this makes even the escaping of the " quotes redudant <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink">.<br>besides... whats the meaning of "?" in "(.+?)"?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Thu May 19, 2005 3:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ex]]></name></author>
		<updated>2005-05-18T23:09:59-04:00</updated>

		<published>2005-05-18T23:09:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49595#p49595</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49595#p49595"/>
		<title type="html"><![CDATA[regex problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49595#p49595"><![CDATA[
hi i'm having a problem with regex<br><div class="codebox"><p>Code: </p><pre><code>return [regexp "^.*test(.+?)test.*" "testlalatest"]</code></pre></div>returns 1.<br>so far so good.<br><br>but if i extend the string an the matchstring it is not working anymore.<br><div class="codebox"><p>Code: </p><pre><code>#normally the code is in one line - but it's much more easy to read now :)#return [regexp "^.*&lt;td&gt;&lt;a class=\"orangelink\" href=\"/news/showdetail.aspx?news_id=1\"&gt;test(.+?)test.*" "&lt;td&gt;&lt;a class=\"orangelink\" href=\"/news/showdetail.aspx?news_id=1\"&gt;testlalatest"]</code></pre></div>as you can see ... i just added sume htmlstuff in the front. but suddenly it returns 0<br><br><br>is there a limit of the stringlength or did i something wrong?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6242">ex</a> — Wed May 18, 2005 11:09 pm</p><hr />
]]></content>
	</entry>
	</feed>
