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

	<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-09-28T19:43:47-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-09-28T19:43:47-04:00</updated>

		<published>2004-09-28T19:43:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41399#p41399</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41399#p41399"/>
		<title type="html"><![CDATA[Re: reading regexp from txt files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41399#p41399"><![CDATA[
<blockquote class="uncited"><div>Is there anything special that would needed to be done to read regular expresions from a .txt file into an array?</div></blockquote>No.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Sep 28, 2004 7:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[droolin]]></name></author>
		<updated>2004-09-28T19:03:31-04:00</updated>

		<published>2004-09-28T19:03:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41394#p41394</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41394#p41394"/>
		<title type="html"><![CDATA[reading regexp from txt files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41394#p41394"><![CDATA[
Is there anything special that would needed to be done to read regular expresions from a .txt file into an array?<br>I have a security bot that basicatly I keep adding regular expresions for specific checks(nicks/idents/version), and I would like to organize it so that it just loops an array of regular expresions for specific checks instead of adding a bunch of if statements that basicatly do the same thing except with a different regular expresion.<br>Basicatly, the text file would look something like this hopefully:<div class="codebox"><p>Code: </p><pre><code>{[A-Z][a-z]+_[0-9][0-9]} Your chat client meets the criteria of a known spam bot.  Please change your nick if this is not the case.</code></pre></div>Frist part would be the regular expression with the second part being the gline/ban reason.  Ok, two arrays but still.  Would there be anything special as far as reading that from a file into an array?<br><br>droolin<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3562">droolin</a> — Tue Sep 28, 2004 7:03 pm</p><hr />
]]></content>
	</entry>
	</feed>
