开发者

javascript RFC 3986 implementation? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
开发者_运维技巧

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Improve this question

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?


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜