autolink 문제 수정

https://www.xetown.com/contact/303840
This commit is contained in:
conory 2016-06-16 23:12:58 +09:00
parent 0f82bc6d57
commit f43c883a31

View file

@ -5,7 +5,7 @@
*/ */
(function($){ (function($){
var protocol_re = '(https?|ftp|news|telnet|irc|mms)://'; var protocol_re = '(https?|ftp|news|telnet|irc|mms)://';
var domain_re = '(?:[^./]+\\.)+[^./]+'; var domain_re = '(?:[^\\s./]+\\.)+[^\\s./]+';
var max_255_re = '(?:1[0-9]{2}|2[0-4][0-9]|25[0-5]|[1-9]?[0-9])'; var max_255_re = '(?:1[0-9]{2}|2[0-4][0-9]|25[0-5]|[1-9]?[0-9])';
var ip_re = '(?:'+max_255_re+'\\.){3}'+max_255_re; var ip_re = '(?:'+max_255_re+'\\.){3}'+max_255_re;
var port_re = '(?::([0-9]+))?'; var port_re = '(?::([0-9]+))?';