<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - wizard04</title>
<link>http://snipplr.com/users/wizard04/tags/mailto</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 00:05:10 GMT</pubDate>
<item>
<title>(JavaScript) Parse URIs</title>
<link>http://snipplr.com/view/6915/parse-uris/</link>
<description><![CDATA[ <p>Functions for validating, parsing, and normalizing URIs and their parts.  
If you find any errors, please leave a comment.

`parseURI(str)` splits a URI into its parts  
`parseQueryNumeric(str)` splits a query string into its name/value pairs; returns a 2-D array  
`parseQueryAssociative(str)` splits a query string into its name/value pairs; returns an associative array  
`parseURL(str)` splits a URL (i.e., http(s) scheme URI) into its parts  
`normalizeURLDomain(domain)` converts an obscured URL domain to a more readable one  
`normalizeIPv4(ip)` normalizes an IPv4 address  
`normalizeIPv6(ip)` normalizes an IPv6 address  
`normalizeURLPath(path)` converts an obscured URL path to a more readable one  
`parseMailto(str)` splits a mailto scheme URI into its parts  
`normalizeEmailAddress(str)` converts an obscured email address to a more readable one; unfolds and removes comments  
`fixURL(str, domain)` attempts to fix a URL if needed  
`fixHyperlink(str, domain, allowMailto)` attempts to fix a hyperlink address (http(s) or mailto) if needed

For URLs, note that IPvFuture addresses are not supported.</p> ]]></description>
<pubDate>Wed, 25 Jun 2008 13:38:08 GMT</pubDate>
<guid>http://snipplr.com/view/6915/parse-uris/</guid>
</item>
<item>
<title>(Regular Expression) Regular Expressions For URI Validation/Parsing</title>
<link>http://snipplr.com/view/6889/regular-expressions-for-uri-validationparsing/</link>
<description><![CDATA[ <p>(Supported by JavaScript, maybe other languages)</p> ]]></description>
<pubDate>Tue, 24 Jun 2008 16:20:14 GMT</pubDate>
<guid>http://snipplr.com/view/6889/regular-expressions-for-uri-validationparsing/</guid>
</item>
</channel>
</rss>