<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cata.printBlog(); &#187; validation</title>
	<atom:link href="http://cata.onsysol.com/blog/tag/validation/feed/" rel="self" type="application/rss+xml" />
	<link>http://cata.onsysol.com/blog</link>
	<description>... it&#039;s about software!</description>
	<lastBuildDate>Sun, 30 May 2010 13:19:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>URL Validation in JavaScript</title>
		<link>http://cata.onsysol.com/blog/2010/05/url-validation-in-javascript/</link>
		<comments>http://cata.onsysol.com/blog/2010/05/url-validation-in-javascript/#comments</comments>
		<pubDate>Sun, 30 May 2010 13:19:27 +0000</pubDate>
		<dc:creator>Catalin Ciocov</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[user input]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://cata.onsysol.com/blog/?p=69</guid>
		<description><![CDATA[This won&#8217;t catch every malformed URL, but it&#8217;s a pretty good filter:
function test_url(url) {
  // comments:  (protocol )(user&#38;pass   ) (subdomains&#38;domain) (TLD            )(port   ) (path &#38; query string   )
  var regex = /^https?:\/\/(\w+(:\w+)?\@)?([\w\-]+&#124;\.[\w\-]+)+(\.[a-zA-Z]{2,6})(:[0-9]+)?(\/[\w#!:.?+=&#38;%@!\-\/]*)?$/i;
  return url.match(regex);
}
]]></description>
			<content:encoded><![CDATA[<p>This won&#8217;t catch every malformed URL, but it&#8217;s a pretty good filter:</p>
<pre>function test_url(url) {
  // comments:  (protocol )(user&amp;pass   ) (subdomains&amp;domain) (TLD            )(port   ) (path &amp; query string   )
  var regex = /^https?:\/\/(\w+(:\w+)?\@)?([\w\-]+|\.[\w\-]+)+(\.[a-zA-Z]{2,6})(:[0-9]+)?(\/[\w#!:.?+=&amp;%@!\-\/]*)?$/i;
  return url.match(regex);
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://cata.onsysol.com/blog/2010/05/url-validation-in-javascript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Validate E-mail Addresses</title>
		<link>http://cata.onsysol.com/blog/2009/10/validate-e-mail-addresses/</link>
		<comments>http://cata.onsysol.com/blog/2009/10/validate-e-mail-addresses/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 13:07:28 +0000</pubDate>
		<dc:creator>Catalin Ciocov</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[form checks]]></category>
		<category><![CDATA[user input]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://cata.onsysol.com/blog/?p=19</guid>
		<description><![CDATA[I bet you didn&#8217;t think e-mail address validation could be that &#8220;easy&#8221;. Take a look at http://www.linuxjournal.com/article/9585 (the PHP way). I&#8217;m wondering if I should change my e-mail address to {^c\@talin*ciocov^}@somedomain.com  .
]]></description>
			<content:encoded><![CDATA[<p>I bet you didn&#8217;t think e-mail address validation could be that &#8220;easy&#8221;. Take a look at <a href="http://www.linuxjournal.com/article/9585">http://www.linuxjournal.com/article/9585</a> (the PHP way). I&#8217;m wondering if I should change my e-mail address to {^c\@talin*ciocov^}@somedomain.com <img src='http://cata.onsysol.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://cata.onsysol.com/blog/2009/10/validate-e-mail-addresses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
