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

	<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-02-12T10:44:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-02-12T10:44:46-04:00</updated>

		<published>2006-02-12T10:44:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60347#p60347</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60347#p60347"/>
		<title type="html"><![CDATA[Another regexp that ain`t working :-/]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60347#p60347"><![CDATA[
If $content is a list, then use [lindex $content 0] and [lindex $content 1] for the 1st and 2nd lines.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Feb 12, 2006 10:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[overfly]]></name></author>
		<updated>2006-02-12T06:31:48-04:00</updated>

		<published>2006-02-12T06:31:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60340#p60340</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60340#p60340"/>
		<title type="html"><![CDATA[Another regexp that ain`t working :-/]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60340#p60340"><![CDATA[
Hi everybody out there. I pharse a html Page with the following html Code:<br><blockquote class="uncited"><div>&lt;div class="deat"&gt;&lt;div class="thl"&gt;Test1&lt;/div&gt;&lt;table width="100%"&gt;&lt;tr&gt;&lt;td class="time"&gt;Test2&lt;/td&gt;&lt;td class="hl"&gt;Test3&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;<br>&lt;div class="txt"&gt;Test4&lt;/div&gt;&lt;/div&gt;<br>&lt;div class="deat"&gt;&lt;div class="thl"&gt;Test1&lt;/div&gt;&lt;table width="100%"&gt;&lt;tr&gt;&lt;td class="time"&gt;Test2&lt;/td&gt;&lt;td class="hl"&gt;Test3&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;<br>&lt;div class="txt"&gt;Test4&lt;/div&gt;&lt;/div&gt;<br>&lt;div class="deat"&gt;&lt;div class="thl"&gt;Test1&lt;/div&gt;&lt;table width="100%"&gt;&lt;tr&gt;&lt;td class="time"&gt;Test2&lt;/td&gt;&lt;td class="hl"&gt;Test3&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;<br>&lt;div class="txt"&gt;Test4&lt;/div&gt;&lt;/div&gt;</div></blockquote>Now i have in my tcl following code:<blockquote class="uncited"><div>regexp {&lt;div class="deat"&gt;&lt;div class="thl"&gt;(.*)&lt;/div&gt;&lt;table width="100%"&gt;&lt;tr&gt;&lt;td class="time"&gt;(.*)&lt;/td&gt;&lt;td class="hl"&gt;(.*)&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;} $content . time1 time2 time3<br>    regexp{&lt;div class="txt"&gt;(.*)&lt;/div&gt;&lt;/div&gt;} $content . main1</div></blockquote>The thing is, that i need this working, only for the first 2 Lines :-/ <br>After 48hours of showing me that i have to learn a lot more of tcl i need your help.<br>THX<br>Greetz<br>overfly<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5865">overfly</a> — Sun Feb 12, 2006 6:31 am</p><hr />
]]></content>
	</entry>
	</feed>
