Q:

javascript RFC 3986 implementation?

Is there already a javascript function/library/snippet written for the validation of the RFC 1738 URL specifications listed at http://www.ietf.org/rfc/rfc3986.txt?

A:

From http://code.google.com/p/google-caja/source/browse/trunk/src/com/google/caja/plugin/uri.js

Implements RFC 3986 for parsing/formatting URIs.

You can find usage examples in the unit tests.

A:

No, but I've written an article that covers the related RFC-3986 (which updates 1738):
Regular Expression URI Validation
I've set up the article so that you can double-click on any of the regexes to get a correctly formatted snippet for a variety of languages.

