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

	<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>2003-02-05T11:36:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-02-05T11:36:42-04:00</updated>

		<published>2003-02-05T11:36:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16213#p16213</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16213#p16213"/>
		<title type="html"><![CDATA[regexp problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16213#p16213"><![CDATA[
Use the scan command rather than regexp.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed Feb 05, 2003 11:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ProXy]]></name></author>
		<updated>2003-02-05T11:24:31-04:00</updated>

		<published>2003-02-05T11:24:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16209#p16209</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16209#p16209"/>
		<title type="html"><![CDATA[regexp problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16209#p16209"><![CDATA[
I want to catch all between the bold tags and save this to a new var. I have a second line in my TCL, but this line works:<br><div class="codebox"><p>Code: </p><pre><code>regexp {^.*Stream Status: &lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;font class=default&gt;&lt;b&gt;Stream is up at (.*) kbps with &lt;B&gt;(.*) of (.*) listeners \((.*) unique\).*} $streamdata streamdata streamkbps streamlisteners streammaxlisteners streamuniquelisteners</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1729">ProXy</a> — Wed Feb 05, 2003 11:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-02-05T11:18:03-04:00</updated>

		<published>2003-02-05T11:18:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16207#p16207</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16207#p16207"/>
		<title type="html"><![CDATA[regexp problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16207#p16207"><![CDATA[
ermm...<br>I think it is <span style="text-decoration:underline">regsub</span> you want to use.. not <span style="text-decoration:underline">regexp</span><br><br>regsub - Perform substitutions based on regular expression pattern matching <br>SYNTAX: regsub ?switches? exp string subSpec ?varName?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Wed Feb 05, 2003 11:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ProXy]]></name></author>
		<updated>2003-02-05T09:35:33-04:00</updated>

		<published>2003-02-05T09:35:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16194#p16194</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16194#p16194"/>
		<title type="html"><![CDATA[regexp problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16194#p16194"><![CDATA[
Hi all,<br><br>I have a var that contains the content of a website, and ich want to pick out a specific part of this conent and save it to a new var.<br><div class="codebox"><p>Code: </p><pre><code>regexp {^.*Stream Title: &lt;/font&gt;&lt;/td&gt;&lt;td&gt;&lt;font class=default&gt;&lt;b&gt;(.*)&lt;/b&gt;.*} $streamdata streamdata streamname</code></pre></div><br>This not only saves the String but also the content below &lt;/b&gt;. Does anyone know what`s the error?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1729">ProXy</a> — Wed Feb 05, 2003 9:35 am</p><hr />
]]></content>
	</entry>
	</feed>
