|
|
|
@ -3776,11 +3776,11 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
@@ -3776,11 +3776,11 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|
|
|
|
"(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])){3}" + |
|
|
|
|
"|" + |
|
|
|
|
// host name
|
|
|
|
|
"(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)" + |
|
|
|
|
"(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[" + regexAlphaChars + "0-9]+)" + |
|
|
|
|
// domain name
|
|
|
|
|
"(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*" + |
|
|
|
|
"(?:\\.(?:[" + regexAlphaChars + "]-*)*[" + regexAlphaChars + "0-9]+)*" + |
|
|
|
|
// TLD identifier
|
|
|
|
|
"(?:\\.(xn--[0-9a-z]{2,16}|[a-z\\u00a1-\\uffff]{2,24}))" + |
|
|
|
|
"(?:\\.(xn--[0-9a-z]{2,16}|[" + regexAlphaChars + "]{2,24}))" + |
|
|
|
|
")" + |
|
|
|
|
// port number
|
|
|
|
|
"(?::\\d{2,5})?" + |
|
|
|
|