<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: F#: Regular expressions/active patterns</title>
	<atom:link href="http://www.markhneedham.com/blog/2009/05/10/f-regular-expressionsactive-patterns/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markhneedham.com/blog/2009/05/10/f-regular-expressionsactive-patterns/</link>
	<description>Thoughts on Software Development</description>
	<lastBuildDate>Sat, 11 Feb 2012 23:17:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Joel</title>
		<link>http://www.markhneedham.com/blog/2009/05/10/f-regular-expressionsactive-patterns/comment-page-1/#comment-110411</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Thu, 24 Mar 2011 17:39:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1204#comment-110411</guid>
		<description>Alternative, since a given group may or may not be a successful match:

List.tail [ for g in m.Groups -&gt; if g.Success then Some g.Value else None ]

Or maybe you give labels to your groups and you want to access them by name:

(re.GetGroupNames() 
 &#124;&gt; Seq.map (fun n -&gt; (n, m.Groups.[n]))
 &#124;&gt; Seq.filter (fun (n, g) -&gt; g.Success)
 &#124;&gt; Seq.map (fun (n, g) -&gt; (n, g.Value))
 &#124;&gt; Map.ofSeq)</description>
		<content:encoded><![CDATA[<p>Alternative, since a given group may or may not be a successful match:</p>
<p>List.tail [ for g in m.Groups -&gt; if g.Success then Some g.Value else None ]</p>
<p>Or maybe you give labels to your groups and you want to access them by name:</p>
<p>(re.GetGroupNames()<br />
 |&gt; Seq.map (fun n -&gt; (n, m.Groups.[n]))<br />
 |&gt; Seq.filter (fun (n, g) -&gt; g.Success)<br />
 |&gt; Seq.map (fun (n, g) -&gt; (n, g.Value))<br />
 |&gt; Map.ofSeq)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Technology Related Links for May 11th - Jason N. Gaylord's Blog</title>
		<link>http://www.markhneedham.com/blog/2009/05/10/f-regular-expressionsactive-patterns/comment-page-1/#comment-16705</link>
		<dc:creator>Technology Related Links for May 11th - Jason N. Gaylord's Blog</dc:creator>
		<pubDate>Mon, 11 May 2009 21:14:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1204#comment-16705</guid>
		<description>[...] F#: Regular expressions/active patterns - Mark Needham (Suggested by Elijah Manor) [...]</description>
		<content:encoded><![CDATA[<p>[...] F#: Regular expressions/active patterns &#8211; Mark Needham (Suggested by Elijah Manor) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DotNetShoutout</title>
		<link>http://www.markhneedham.com/blog/2009/05/10/f-regular-expressionsactive-patterns/comment-page-1/#comment-16605</link>
		<dc:creator>DotNetShoutout</dc:creator>
		<pubDate>Sun, 10 May 2009 14:08:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1204#comment-16605</guid>
		<description>&lt;strong&gt;F#: Regular expressions/active patterns - Mark Needham...&lt;/strong&gt;

Thank you for submitting this cool story - Trackback from DotNetShoutout...</description>
		<content:encoded><![CDATA[<p><strong>F#: Regular expressions/active patterns &#8211; Mark Needham&#8230;</strong></p>
<p>Thank you for submitting this cool story &#8211; Trackback from DotNetShoutout&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dew Drop - Weekend Edition - May 9-10, 2009 &#124; Alvin Ashcraft's Morning Dew</title>
		<link>http://www.markhneedham.com/blog/2009/05/10/f-regular-expressionsactive-patterns/comment-page-1/#comment-16558</link>
		<dc:creator>Dew Drop - Weekend Edition - May 9-10, 2009 &#124; Alvin Ashcraft's Morning Dew</dc:creator>
		<pubDate>Sun, 10 May 2009 01:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1204#comment-16558</guid>
		<description>[...] F#: Regular Expression/Active Patterns (Mark Needham) [...]</description>
		<content:encoded><![CDATA[<p>[...] F#: Regular Expression/Active Patterns (Mark Needham) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

