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

	<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>2004-01-21T15:54:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-01-21T15:54:57-04:00</updated>

		<published>2004-01-21T15:54:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32753#p32753</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32753#p32753"/>
		<title type="html"><![CDATA[Re: regexp X times]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32753#p32753"><![CDATA[
Check out the -all and -inline options (<a href="http://tcl.tk/man/tcl8.4/TclCmd/regexp.htm" class="postlink">http://tcl.tk/man/tcl8.4/TclCmd/regexp.htm</a>) and make sure you know how they work before writing the loop (you can't avoid reporting the entire match, so you need a variable for that value which will be discarded in most cases)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Jan 21, 2004 3:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[t3ch^]]></name></author>
		<updated>2004-01-21T08:41:22-04:00</updated>

		<published>2004-01-21T08:41:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32735#p32735</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32735#p32735"/>
		<title type="html"><![CDATA[regexp X times]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32735#p32735"><![CDATA[
I got this code<div class="codebox"><p>Code: </p><pre><code>&lt;a href="/Sections/Genres/Fantasy/"&gt;Fantasy&lt;/a&gt; / &lt;a href="/Sections/Genres/Adventure/"&gt;Adventure&lt;/a&gt; / &lt;a href="/Sections/Genres/Action/"&gt;Action&lt;/a&gt;</code></pre></div>This can vary in number and genres but the code is still the same.<br>How would i fetch all betwean &gt; &lt; ?<br>i figured somthing like this<div class="codebox"><p>Code: </p><pre><code>foreach [regexp -nocase {&lt;a href=\"/Sections/Genres/[a-z]*/\"&gt;([a-z]*)&lt;/a&gt;} $string string match] $string {puthelp "NOTICE $nick :$match"}</code></pre></div>with this i get, in this case<div class="codebox"><p>Code: </p><pre><code>FantasyFantasy</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4315">t3ch^</a> — Wed Jan 21, 2004 8:41 am</p><hr />
]]></content>
	</entry>
	</feed>
