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

	<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>2002-09-22T17:07:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2002-09-22T17:07:46-04:00</updated>

		<published>2002-09-22T17:07:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11254#p11254</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11254#p11254"/>
		<title type="html"><![CDATA[Re: email formatting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11254#p11254"><![CDATA[
<blockquote class="uncited"><div>Hi<br><br>could someone give me an example of how i could check is the format of an email address entered is correct. Ive been looking at the regexp page but i cant seem to figure it out.<br><br>thanks<br>Simon</div></blockquote>If you want to go beyond a one line regexp, you may end up writing an interesting tcl which does:<br><br>1. check if the email address is formatted according RFC 822.<br>2. check if a mail host for the address exists.<br><br>Perl modules exist for this functionality. An example:<br><br><a href="http://aspn.activestate.com/ASPN/CodeDoc/Email-Valid/Valid.html" class="postlink">http://aspn.activestate.com/ASPN/CodeDo ... Valid.html</a><br><br>If you find or write such a module in tcl, let it know! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Sun Sep 22, 2002 5:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-09-22T16:00:24-04:00</updated>

		<published>2002-09-22T16:00:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11251#p11251</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11251#p11251"/>
		<title type="html"><![CDATA[email formatting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11251#p11251"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {[regexp {.+@.+\..+} &lt;text&gt;]} { valid }</code></pre></div>Wcc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Sun Sep 22, 2002 4:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simonbell]]></name></author>
		<updated>2002-09-18T14:21:07-04:00</updated>

		<published>2002-09-18T14:21:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11069#p11069</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11069#p11069"/>
		<title type="html"><![CDATA[email formatting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11069#p11069"><![CDATA[
Hi<br><br>could someone give me an example of how i could check is the format of an email address entered is correct. Ive been looking at the regexp page but i cant seem to figure it out.<br><br>thanks<br>Simon<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1696">simonbell</a> — Wed Sep 18, 2002 2:21 pm</p><hr />
]]></content>
	</entry>
	</feed>
