<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: FastSharp - Rapid C# Scripting</title>
	<atom:link href="http://nicholasclarke.co.uk/blog/2008/02/17/fastsharp-rapid-c-scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://nicholasclarke.co.uk/blog/2008/02/17/fastsharp-rapid-c-scripting/</link>
	<description></description>
	<pubDate>Thu, 28 Aug 2008 05:36:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Nick Clarke</title>
		<link>http://nicholasclarke.co.uk/blog/2008/02/17/fastsharp-rapid-c-scripting/#comment-661</link>
		<dc:creator>Nick Clarke</dc:creator>
		<pubDate>Wed, 20 Feb 2008 21:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasclarke.co.uk/blog/2008/02/17/fastsharp-rapid-c-scripting/#comment-661</guid>
		<description>Hi Sebastien,

You're right that the regex does not cover all of the valid URLs characters/patterns nor would it allow unicode characters etc. In my situation it works as I have control over the URL + its only used in a site with limited exposure so this simple approach works.

If someone wanted to break up their URL this expression would not be the way to go, at least in its current state.

I looked at the .Net docs and I could not find Uri.TryParse, there was a Uri.Parse but this is marked as obsolete. Is this in a special library or am I overlooking it?

Cheers for your feedback</description>
		<content:encoded><![CDATA[<p>Hi Sebastien,</p>
<p>You&#8217;re right that the regex does not cover all of the valid URLs characters/patterns nor would it allow unicode characters etc. In my situation it works as I have control over the URL + its only used in a site with limited exposure so this simple approach works.</p>
<p>If someone wanted to break up their URL this expression would not be the way to go, at least in its current state.</p>
<p>I looked at the .Net docs and I could not find Uri.TryParse, there was a Uri.Parse but this is marked as obsolete. Is this in a special library or am I overlooking it?</p>
<p>Cheers for your feedback</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastien Lambla</title>
		<link>http://nicholasclarke.co.uk/blog/2008/02/17/fastsharp-rapid-c-scripting/#comment-659</link>
		<dc:creator>Sebastien Lambla</dc:creator>
		<pubDate>Wed, 20 Feb 2008 15:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://nicholasclarke.co.uk/blog/2008/02/17/fastsharp-rapid-c-scripting/#comment-659</guid>
		<description>The \w use is factually incorrect. As per the RFC on URIs, domain names 
(?[A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9]))?\.)*(?[A-Za-z]([A-Za-z-]*[A-Za-z])?)

Your current regex would happily parse completely invalid urls formed of unicode characters.

That said, this does not include any support for IRI and IDNs where more stop points are to be recognized...

What's wrong with Uri.TryParse? :)</description>
		<content:encoded><![CDATA[<p>The \w use is factually incorrect. As per the RFC on URIs, domain names<br />
(?[A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9]))?\.)*(?[A-Za-z]([A-Za-z-]*[A-Za-z])?)</p>
<p>Your current regex would happily parse completely invalid urls formed of unicode characters.</p>
<p>That said, this does not include any support for IRI and IDNs where more stop points are to be recognized&#8230;</p>
<p>What&#8217;s wrong with Uri.TryParse? <img src='http://nicholasclarke.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
