diff --git a/dist/Autolinker.js b/dist/Autolinker.js index d463c331..8b1d75bb 100644 --- a/dist/Autolinker.js +++ b/dist/Autolinker.js @@ -1,6 +1,6 @@ /*! * Autolinker.js - * 1.4.3 + * 1.4.4 * * Copyright(c) 2017 Gregory Jacobs * MIT License @@ -240,7 +240,7 @@ Autolinker.parse = function( textOrHtml, options ) { * * Ex: 0.25.1 */ -Autolinker.version = '1.4.3'; +Autolinker.version = '1.4.4'; Autolinker.prototype = { @@ -1546,9 +1546,14 @@ Autolinker.RegexLib = (function() { // See documentation below var alphaNumericCharsStr = alphaCharsStr + decimalNumbersStr; + // Simplified IP regular expression + var ipRegex = new RegExp( '(?:[' + decimalNumbersStr + ']{1,3}\\.){3}[' + decimalNumbersStr + ']{1,3}' ); + + // Protected domain label which do not allow "-" character on the beginning and the end of a single label + var domainLabelStr = '[' + alphaNumericCharsStr + '](?:[' + alphaNumericCharsStr + '\\-]*[' + alphaNumericCharsStr + '])?'; // See documentation below - var domainNameRegex = new RegExp( '[' + alphaNumericCharsStr + '.\\-]*[' + alphaNumericCharsStr + '\\-]' ); + var domainNameRegex = new RegExp( '(?:(?:(?:' + domainLabelStr + '\\.)*(?:' + domainLabelStr + '))|(?:' + ipRegex.source + '))' ); return { @@ -3206,7 +3211,11 @@ Autolinker.matcher.Email = Autolinker.Util.extend( Autolinker.matcher.Matcher, { */ matcherRegex : (function() { var alphaNumericChars = Autolinker.RegexLib.alphaNumericCharsStr, - emailRegex = new RegExp( '[' + alphaNumericChars + '\\-_\';:&=+$.,]+@' ), // something@ for email addresses (a.k.a. local-part) + specialCharacters = '!#$%&\'*+\\-\\/=?^_`{|}~', + restrictedSpecialCharacters = '\\s"(),:;<>@\\[\\]', + validCharacters = alphaNumericChars + specialCharacters, + validRestrictedCharacters = validCharacters + restrictedSpecialCharacters, + emailRegex = new RegExp( '(?:(?:[' + validCharacters + '](?![^@]*\\.\\.)(?:[' + validCharacters + '.]*[' + validCharacters + '])?)|(?:\\"[' + validRestrictedCharacters + '.]+\\"))@'), domainNameRegex = Autolinker.RegexLib.domainNameRegex, tldRegex = Autolinker.tldRegex; // match our known top level domains (TLDs) @@ -3373,7 +3382,7 @@ Autolinker.matcher.Phone = Autolinker.Util.extend( Autolinker.matcher.Matcher, { var matchedText = match[0], cleanNumber = matchedText.replace(/[^0-9,;#]/g, ''), // strip out non-digit characters exclude comma semicolon and # plusSign = !!match[1]; // match[ 1 ] is the prefixed plus sign, if there is one - if (/\D/.test(match[2]) && /\D/.test(matchedText)) { + if (this.testMatch(match[2]) && this.testMatch(matchedText)) { matches.push(new Autolinker.match.Phone({ tagBuilder: tagBuilder, matchedText: matchedText, @@ -3385,9 +3394,14 @@ Autolinker.matcher.Phone = Autolinker.Util.extend( Autolinker.matcher.Matcher, { } return matches; + }, + + testMatch: function(text) { + return /\D/.test(text); } } ); + /*global Autolinker */ /** * @class Autolinker.matcher.Mention diff --git a/dist/Autolinker.min.js b/dist/Autolinker.min.js index c0ba9cfc..43a6ff99 100644 --- a/dist/Autolinker.min.js +++ b/dist/Autolinker.min.js @@ -1,11 +1,11 @@ /*! * Autolinker.js - * 1.4.3 + * 1.4.4 * * Copyright(c) 2017 Gregory Jacobs * MIT License * * https://github.com/gregjacobs/Autolinker.js */ -!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():e.Autolinker=t()}(this,function(){var e=function(t){t=t||{},this.version=e.version,this.urls=this.normalizeUrlsCfg(t.urls),this.email="boolean"!=typeof t.email||t.email,this.phone="boolean"!=typeof t.phone||t.phone,this.hashtag=t.hashtag||!1,this.mention=t.mention||!1,this.newWindow="boolean"!=typeof t.newWindow||t.newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(t.stripPrefix),this.stripTrailingSlash="boolean"!=typeof t.stripTrailingSlash||t.stripTrailingSlash;var r=this.mention;if(r!==!1&&"twitter"!==r&&"instagram"!==r)throw new Error("invalid `mention` cfg - see docs");var n=this.hashtag;if(n!==!1&&"twitter"!==n&&"facebook"!==n&&"instagram"!==n)throw new Error("invalid `hashtag` cfg - see docs");this.truncate=this.normalizeTruncateCfg(t.truncate),this.className=t.className||"",this.replaceFn=t.replaceFn||null,this.context=t.context||this,this.htmlParser=null,this.matchers=null,this.tagBuilder=null};return e.link=function(t,r){var n=new e(r);return n.link(t)},e.parse=function(t,r){var n=new e(r);return n.parse(t)},e.version="1.4.3",e.prototype={constructor:e,normalizeUrlsCfg:function(e){return null==e&&(e=!0),"boolean"==typeof e?{schemeMatches:e,wwwMatches:e,tldMatches:e}:{schemeMatches:"boolean"!=typeof e.schemeMatches||e.schemeMatches,wwwMatches:"boolean"!=typeof e.wwwMatches||e.wwwMatches,tldMatches:"boolean"!=typeof e.tldMatches||e.tldMatches}},normalizeStripPrefixCfg:function(e){return null==e&&(e=!0),"boolean"==typeof e?{scheme:e,www:e}:{scheme:"boolean"!=typeof e.scheme||e.scheme,www:"boolean"!=typeof e.www||e.www}},normalizeTruncateCfg:function(t){return"number"==typeof t?{length:t,location:"end"}:e.Util.defaults(t||{},{length:Number.POSITIVE_INFINITY,location:"end"})},parse:function(e){for(var t=this.getHtmlParser(),r=t.parse(e),n=0,a=[],i=0,s=r.length;ia?t:t+1;e.splice(s,1);continue}e[t+1].getOffset()<=i&&e.splice(t+1,1)}}return e},removeUnwantedMatches:function(t){var r=e.Util.remove;return this.hashtag||r(t,function(e){return"hashtag"===e.getType()}),this.email||r(t,function(e){return"email"===e.getType()}),this.phone||r(t,function(e){return"phone"===e.getType()}),this.mention||r(t,function(e){return"mention"===e.getType()}),this.urls.schemeMatches||r(t,function(e){return"url"===e.getType()&&"scheme"===e.getUrlMatchType()}),this.urls.wwwMatches||r(t,function(e){return"url"===e.getType()&&"www"===e.getUrlMatchType()}),this.urls.tldMatches||r(t,function(e){return"url"===e.getType()&&"tld"===e.getUrlMatchType()}),t},parseText:function(e,t){t=t||0;for(var r=this.getMatchers(),n=[],a=0,i=r.length;at&&(null==r?(r="…",n=3):n=r.length,e=e.substring(0,t-n)+r),e},indexOf:function(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r=0;r--)t(e[r])===!0&&e.splice(r,1)},splitAndCapture:function(e,t){for(var r,n=[],a=0;r=t.exec(e);)n.push(e.substring(a,r.index)),n.push(r[0]),a=r.index+r[0].length;return n.push(e.substring(a)),n},trim:function(e){return e.replace(this.trimRegex,"")}},e.HtmlTag=e.Util.extend(Object,{whitespaceRegex:/\s+/,constructor:function(t){e.Util.assign(this,t),this.innerHtml=this.innerHtml||this.innerHTML},setTagName:function(e){return this.tagName=e,this},getTagName:function(){return this.tagName||""},setAttr:function(e,t){var r=this.getAttrs();return r[e]=t,this},getAttr:function(e){return this.getAttrs()[e]},setAttrs:function(t){var r=this.getAttrs();return e.Util.assign(r,t),this},getAttrs:function(){return this.attrs||(this.attrs={})},setClass:function(e){return this.setAttr("class",e)},addClass:function(t){for(var r,n=this.getClass(),a=this.whitespaceRegex,i=e.Util.indexOf,s=n?n.split(a):[],o=t.split(a);r=o.shift();)i(s,r)===-1&&s.push(r);return this.getAttrs()["class"]=s.join(" "),this},removeClass:function(t){for(var r,n=this.getClass(),a=this.whitespaceRegex,i=e.Util.indexOf,s=n?n.split(a):[],o=t.split(a);s.length&&(r=o.shift());){var c=i(s,r);c!==-1&&s.splice(c,1)}return this.getAttrs()["class"]=s.join(" "),this},getClass:function(){return this.getAttrs()["class"]||""},hasClass:function(e){return(" "+this.getClass()+" ").indexOf(" "+e+" ")!==-1},setInnerHtml:function(e){return this.innerHtml=e,this},getInnerHtml:function(){return this.innerHtml||""},toAnchorString:function(){var e=this.getTagName(),t=this.buildAttrsStr();return t=t?" "+t:"",["<",e,t,">",this.getInnerHtml(),""].join("")},buildAttrsStr:function(){if(!this.attrs)return"";var e=this.getAttrs(),t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r+'="'+e[r]+'"');return t.join(" ")}}),e.RegexLib=function(){var e="A-Za-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〆〱-〵〻〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛥꜗ-ꜟꜢ-ꞈꞋ-ꞭꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",t="0-9٠-٩۰-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯෦-෯๐-๙໐-໙༠-༩၀-၉႐-႙០-៩᠐-᠙᥆-᥏᧐-᧙᪀-᪉᪐-᪙᭐-᭙᮰-᮹᱀-᱉᱐-᱙꘠-꘩꣐-꣙꤀-꤉꧐-꧙꧰-꧹꩐-꩙꯰-꯹0-9",r=e+t,n=new RegExp("["+r+".\\-]*["+r+"\\-]");return{alphaNumericCharsStr:r,alphaCharsStr:e,domainNameRegex:n}}(),e.AnchorTagBuilder=e.Util.extend(Object,{constructor:function(e){e=e||{},this.newWindow=e.newWindow,this.truncate=e.truncate,this.className=e.className},build:function(t){return new e.HtmlTag({tagName:"a",attrs:this.createAttrs(t),innerHtml:this.processAnchorText(t.getAnchorText())})},createAttrs:function(e){var t={href:e.getAnchorHref()},r=this.createCssClass(e);return r&&(t["class"]=r),this.newWindow&&(t.target="_blank",t.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length\/=\x00-\x1F\x7F]+/,n=/(?:"[^"]*?"|'[^']*?'|[^'"=<>`\s]+)/,a=r.source+"(?:\\s*=\\s*"+n.source+")?";return new RegExp(["(?:","<(!DOCTYPE)","(?:","\\s+","(?:",a,"|",n.source+")",")*",">",")","|","(?:","<(/)?","(?:",e.source,"|","(?:","("+t.source+")","\\s*/?",")","|","(?:","("+t.source+")","\\s+","(?:","(?:\\s+|\\b)",a,")*","\\s*/?",")",")",">",")"].join(""),"gi")}(),htmlCharacterEntitiesRegex:/( | |<|<|>|>|"|"|')/gi,parse:function(e){for(var t,r,n=this.htmlRegex,a=0,i=[];null!==(t=n.exec(e));){var s=t[0],o=t[3],c=t[1]||t[4]||t[5],h=!!t[2],l=t.index,u=e.substring(a,l);u&&(r=this.parseTextAndEntityNodes(a,u),i.push.apply(i,r)),o?i.push(this.createCommentNode(l,s,o)):i.push(this.createElementNode(l,s,c,h)),a=l+s.length}if(a0&&"@"===p||m>0&&f&&this.wordCharRegExp.test(p))){if(/\?$/.test(c)&&(c=c.substr(0,c.length-1)),this.matchHasUnbalancedClosingParen(c))c=c.substr(0,c.length-1);else{var d=this.matchHasInvalidCharAfterTld(c,h);d>-1&&(c=c.substr(0,d))}var x=h?"scheme":l?"www":"tld",b=!!h;o.push(new e.match.Url({tagBuilder:s,matchedText:c,offset:m,urlMatchType:x,url:c,protocolUrlMatch:b,protocolRelativeMatch:!!f,stripPrefix:a,stripTrailingSlash:i}))}}return o},matchHasUnbalancedClosingParen:function(e){var t=e.charAt(e.length-1);if(")"===t){var r=e.match(this.openParensRe),n=e.match(this.closeParensRe),a=r&&r.length||0,i=n&&n.length||0;if(a-1},isValidUriScheme:function(e){var t=e.match(this.uriSchemeRegex)[0].toLowerCase();return"javascript:"!==t&&"vbscript:"!==t; -},urlMatchDoesNotHaveProtocolOrDot:function(e,t){return!(!e||t&&this.hasFullProtocolRegex.test(t)||e.indexOf(".")!==-1)},urlMatchDoesNotHaveAtLeastOneWordChar:function(e,t){return!(!e||!t)&&!this.hasWordCharAfterProtocolRegex.test(e)}},e.truncate.TruncateEnd=function(t,r,n){return e.Util.ellipsis(t,r,n)},e.truncate.TruncateMiddle=function(e,t,r){if(e.length<=t)return e;var n,a;null==r?(r="…",n=8,a=3):(n=r.length,a=r.length);var i=t-a,s="";return i>0&&(s=e.substr(-1*Math.floor(i/2))),(e.substr(0,Math.ceil(i/2))+r+s).substr(0,i+n)},e.truncate.TruncateSmart=function(e,t,r){var n,a;null==r?(r="…",a=3,n=8):(a=r.length,n=r.length);var i=function(e){var t={},r=e,n=r.match(/^([a-z]+):\/\//i);return n&&(t.scheme=n[1],r=r.substr(n[0].length)),n=r.match(/^(.*?)(?=(\?|#|\/|$))/i),n&&(t.host=n[1],r=r.substr(n[0].length)),n=r.match(/^\/(.*?)(?=(\?|#|$))/i),n&&(t.path=n[1],r=r.substr(n[0].length)),n=r.match(/^\?(.*?)(?=(#|$))/i),n&&(t.query=n[1],r=r.substr(n[0].length)),n=r.match(/^#(.*?)$/i),n&&(t.fragment=n[1]),t},s=function(e){var t="";return e.scheme&&e.host&&(t+=e.scheme+"://"),e.host&&(t+=e.host),e.path&&(t+="/"+e.path),e.query&&(t+="?"+e.query),e.fragment&&(t+="#"+e.fragment),t},o=function(e,t){var n=t/2,a=Math.ceil(n),i=-1*Math.floor(n),s="";return i<0&&(s=e.substr(i)),e.substr(0,a)+r+s};if(e.length<=t)return e;var c=t-a,h=i(e);if(h.query){var l=h.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);l&&(h.query=h.query.substr(0,l[1].length),e=s(h))}if(e.length<=t)return e;if(h.host&&(h.host=h.host.replace(/^www\./,""),e=s(h)),e.length<=t)return e;var u="";if(h.host&&(u+=h.host),u.length>=c)return h.host.length==t?(h.host.substr(0,t-a)+r).substr(0,c+n):o(u,c).substr(0,c+n);var g="";if(h.path&&(g+="/"+h.path),h.query&&(g+="?"+h.query),g){if((u+g).length>=c){if((u+g).length==t)return(u+g).substr(0,t);var m=c-u.length;return(u+o(g,m)).substr(0,c+n)}u+=g}if(h.fragment){var f="#"+h.fragment;if((u+f).length>=c){if((u+f).length==t)return(u+f).substr(0,t);var p=c-u.length;return(u+o(f,p)).substr(0,c+n)}u+=f}if(h.scheme&&h.host){var d=h.scheme+"://";if((u+d).length0&&(x=u.substr(-1*Math.floor(c/2))),(u.substr(0,Math.ceil(c/2))+r+x).substr(0,c+n)},e}); \ No newline at end of file +!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():e.Autolinker=t()}(this,function(){var e=function(t){t=t||{},this.version=e.version,this.urls=this.normalizeUrlsCfg(t.urls),this.email="boolean"!=typeof t.email||t.email,this.phone="boolean"!=typeof t.phone||t.phone,this.hashtag=t.hashtag||!1,this.mention=t.mention||!1,this.newWindow="boolean"!=typeof t.newWindow||t.newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(t.stripPrefix),this.stripTrailingSlash="boolean"!=typeof t.stripTrailingSlash||t.stripTrailingSlash;var r=this.mention;if(r!==!1&&"twitter"!==r&&"instagram"!==r)throw new Error("invalid `mention` cfg - see docs");var n=this.hashtag;if(n!==!1&&"twitter"!==n&&"facebook"!==n&&"instagram"!==n)throw new Error("invalid `hashtag` cfg - see docs");this.truncate=this.normalizeTruncateCfg(t.truncate),this.className=t.className||"",this.replaceFn=t.replaceFn||null,this.context=t.context||this,this.htmlParser=null,this.matchers=null,this.tagBuilder=null};return e.link=function(t,r){var n=new e(r);return n.link(t)},e.parse=function(t,r){var n=new e(r);return n.parse(t)},e.version="1.4.4",e.prototype={constructor:e,normalizeUrlsCfg:function(e){return null==e&&(e=!0),"boolean"==typeof e?{schemeMatches:e,wwwMatches:e,tldMatches:e}:{schemeMatches:"boolean"!=typeof e.schemeMatches||e.schemeMatches,wwwMatches:"boolean"!=typeof e.wwwMatches||e.wwwMatches,tldMatches:"boolean"!=typeof e.tldMatches||e.tldMatches}},normalizeStripPrefixCfg:function(e){return null==e&&(e=!0),"boolean"==typeof e?{scheme:e,www:e}:{scheme:"boolean"!=typeof e.scheme||e.scheme,www:"boolean"!=typeof e.www||e.www}},normalizeTruncateCfg:function(t){return"number"==typeof t?{length:t,location:"end"}:e.Util.defaults(t||{},{length:Number.POSITIVE_INFINITY,location:"end"})},parse:function(e){for(var t=this.getHtmlParser(),r=t.parse(e),n=0,a=[],i=0,s=r.length;ia?t:t+1;e.splice(s,1);continue}e[t+1].getOffset()<=i&&e.splice(t+1,1)}}return e},removeUnwantedMatches:function(t){var r=e.Util.remove;return this.hashtag||r(t,function(e){return"hashtag"===e.getType()}),this.email||r(t,function(e){return"email"===e.getType()}),this.phone||r(t,function(e){return"phone"===e.getType()}),this.mention||r(t,function(e){return"mention"===e.getType()}),this.urls.schemeMatches||r(t,function(e){return"url"===e.getType()&&"scheme"===e.getUrlMatchType()}),this.urls.wwwMatches||r(t,function(e){return"url"===e.getType()&&"www"===e.getUrlMatchType()}),this.urls.tldMatches||r(t,function(e){return"url"===e.getType()&&"tld"===e.getUrlMatchType()}),t},parseText:function(e,t){t=t||0;for(var r=this.getMatchers(),n=[],a=0,i=r.length;at&&(null==r?(r="…",n=3):n=r.length,e=e.substring(0,t-n)+r),e},indexOf:function(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r=0;r--)t(e[r])===!0&&e.splice(r,1)},splitAndCapture:function(e,t){for(var r,n=[],a=0;r=t.exec(e);)n.push(e.substring(a,r.index)),n.push(r[0]),a=r.index+r[0].length;return n.push(e.substring(a)),n},trim:function(e){return e.replace(this.trimRegex,"")}},e.HtmlTag=e.Util.extend(Object,{whitespaceRegex:/\s+/,constructor:function(t){e.Util.assign(this,t),this.innerHtml=this.innerHtml||this.innerHTML},setTagName:function(e){return this.tagName=e,this},getTagName:function(){return this.tagName||""},setAttr:function(e,t){var r=this.getAttrs();return r[e]=t,this},getAttr:function(e){return this.getAttrs()[e]},setAttrs:function(t){var r=this.getAttrs();return e.Util.assign(r,t),this},getAttrs:function(){return this.attrs||(this.attrs={})},setClass:function(e){return this.setAttr("class",e)},addClass:function(t){for(var r,n=this.getClass(),a=this.whitespaceRegex,i=e.Util.indexOf,s=n?n.split(a):[],o=t.split(a);r=o.shift();)i(s,r)===-1&&s.push(r);return this.getAttrs()["class"]=s.join(" "),this},removeClass:function(t){for(var r,n=this.getClass(),a=this.whitespaceRegex,i=e.Util.indexOf,s=n?n.split(a):[],o=t.split(a);s.length&&(r=o.shift());){var c=i(s,r);c!==-1&&s.splice(c,1)}return this.getAttrs()["class"]=s.join(" "),this},getClass:function(){return this.getAttrs()["class"]||""},hasClass:function(e){return(" "+this.getClass()+" ").indexOf(" "+e+" ")!==-1},setInnerHtml:function(e){return this.innerHtml=e,this},getInnerHtml:function(){return this.innerHtml||""},toAnchorString:function(){var e=this.getTagName(),t=this.buildAttrsStr();return t=t?" "+t:"",["<",e,t,">",this.getInnerHtml(),""].join("")},buildAttrsStr:function(){if(!this.attrs)return"";var e=this.getAttrs(),t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r+'="'+e[r]+'"');return t.join(" ")}}),e.RegexLib=function(){var e="A-Za-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〆〱-〵〻〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛥꜗ-ꜟꜢ-ꞈꞋ-ꞭꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",t="0-9٠-٩۰-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯෦-෯๐-๙໐-໙༠-༩၀-၉႐-႙០-៩᠐-᠙᥆-᥏᧐-᧙᪀-᪉᪐-᪙᭐-᭙᮰-᮹᱀-᱉᱐-᱙꘠-꘩꣐-꣙꤀-꤉꧐-꧙꧰-꧹꩐-꩙꯰-꯹0-9",r=e+t,n=new RegExp("(?:["+t+"]{1,3}\\.){3}["+t+"]{1,3}"),a="["+r+"](?:["+r+"\\-]*["+r+"])?",i=new RegExp("(?:(?:(?:"+a+"\\.)*(?:"+a+"))|(?:"+n.source+"))");return{alphaNumericCharsStr:r,alphaCharsStr:e,domainNameRegex:i}}(),e.AnchorTagBuilder=e.Util.extend(Object,{constructor:function(e){e=e||{},this.newWindow=e.newWindow,this.truncate=e.truncate,this.className=e.className},build:function(t){return new e.HtmlTag({tagName:"a",attrs:this.createAttrs(t),innerHtml:this.processAnchorText(t.getAnchorText())})},createAttrs:function(e){var t={href:e.getAnchorHref()},r=this.createCssClass(e);return r&&(t["class"]=r),this.newWindow&&(t.target="_blank",t.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length\/=\x00-\x1F\x7F]+/,n=/(?:"[^"]*?"|'[^']*?'|[^'"=<>`\s]+)/,a=r.source+"(?:\\s*=\\s*"+n.source+")?";return new RegExp(["(?:","<(!DOCTYPE)","(?:","\\s+","(?:",a,"|",n.source+")",")*",">",")","|","(?:","<(/)?","(?:",e.source,"|","(?:","("+t.source+")","\\s*/?",")","|","(?:","("+t.source+")","\\s+","(?:","(?:\\s+|\\b)",a,")*","\\s*/?",")",")",">",")"].join(""),"gi")}(),htmlCharacterEntitiesRegex:/( | |<|<|>|>|"|"|')/gi,parse:function(e){for(var t,r,n=this.htmlRegex,a=0,i=[];null!==(t=n.exec(e));){var s=t[0],o=t[3],c=t[1]||t[4]||t[5],h=!!t[2],l=t.index,u=e.substring(a,l);u&&(r=this.parseTextAndEntityNodes(a,u),i.push.apply(i,r)),o?i.push(this.createCommentNode(l,s,o)):i.push(this.createElementNode(l,s,c,h)),a=l+s.length}if(a@\\[\\]',a=t+r,i=a+n,s=new RegExp("(?:(?:["+a+"](?![^@]*\\.\\.)(?:["+a+".]*["+a+'])?)|(?:\\"['+i+'.]+\\"))@'),o=e.RegexLib.domainNameRegex,c=e.tldRegex;return new RegExp([s.source,o.source,"\\.",c.source].join(""),"gi")}(),parseMatches:function(t){for(var r,n=this.matcherRegex,a=this.tagBuilder,i=[];null!==(r=n.exec(t));){var s=r[0];i.push(new e.match.Email({tagBuilder:a,matchedText:s,offset:r.index,email:s}))}return i}}),e.matcher.Hashtag=e.Util.extend(e.matcher.Matcher,{matcherRegex:new RegExp("#[_"+e.RegexLib.alphaNumericCharsStr+"]{1,139}","g"),nonWordCharRegex:new RegExp("[^"+e.RegexLib.alphaNumericCharsStr+"]"),constructor:function(t){e.matcher.Matcher.prototype.constructor.call(this,t),this.serviceName=t.serviceName},parseMatches:function(t){for(var r,n=this.matcherRegex,a=this.nonWordCharRegex,i=this.serviceName,s=this.tagBuilder,o=[];null!==(r=n.exec(t));){var c=r.index,h=t.charAt(c-1);if(0===c||a.test(h)){var l=r[0],u=r[0].slice(1);o.push(new e.match.Hashtag({tagBuilder:s,matchedText:l,offset:c,serviceName:i,hashtag:u}))}}return o}}),e.matcher.Phone=e.Util.extend(e.matcher.Matcher,{matcherRegex:/(?:(\+)?\d{1,3}[-\040.]?)?\(?\d{3}\)?[-\040.]?\d{3}[-\040.]?\d{4}([,;]*[0-9]+#?)*/g,parseMatches:function(t){for(var r,n=this.matcherRegex,a=this.tagBuilder,i=[];null!==(r=n.exec(t));){var s=r[0],o=s.replace(/[^0-9,;#]/g,""),c=!!r[1];this.testMatch(r[2])&&this.testMatch(s)&&i.push(new e.match.Phone({tagBuilder:a,matchedText:s,offset:r.index,number:o,plusSign:c}))}return i},testMatch:function(e){return/\D/.test(e)}}),e.matcher.Mention=e.Util.extend(e.matcher.Matcher,{matcherRegexes:{twitter:new RegExp("@[_"+e.RegexLib.alphaNumericCharsStr+"]{1,20}","g"),instagram:new RegExp("@[_."+e.RegexLib.alphaNumericCharsStr+"]{1,50}","g")},nonWordCharRegex:new RegExp("[^"+e.RegexLib.alphaNumericCharsStr+"]"),constructor:function(t){e.matcher.Matcher.prototype.constructor.call(this,t),this.serviceName=t.serviceName},parseMatches:function(t){var r,n=this.matcherRegexes[this.serviceName],a=this.nonWordCharRegex,i=this.serviceName,s=this.tagBuilder,o=[];if(!n)return o;for(;null!==(r=n.exec(t));){var c=r.index,h=t.charAt(c-1);if(0===c||a.test(h)){var l=r[0].replace(/\.+$/g,""),u=l.slice(1);o.push(new e.match.Mention({tagBuilder:s,matchedText:l,offset:c,serviceName:i,mention:u}))}}return o}}),e.matcher.Url=e.Util.extend(e.matcher.Matcher,{matcherRegex:function(){var t=/(?:[A-Za-z][-.+A-Za-z0-9]*:(?![A-Za-z][-.+A-Za-z0-9]*:\/\/)(?!\d+\/?)(?:\/\/)?)/,r=/(?:www\.)/,n=e.RegexLib.domainNameRegex,a=e.tldRegex,i=e.RegexLib.alphaNumericCharsStr,s=new RegExp("[/?#](?:["+i+"\\-+&@#/%=~_()|'$*\\[\\]?!:,.;✓]*["+i+"\\-+&@#/%=~_()|'$*\\[\\]✓])?");return new RegExp(["(?:","(",t.source,n.source,")","|","(","(//)?",r.source,n.source,")","|","(","(//)?",n.source+"\\.",a.source,"(?![-"+i+"])",")",")","(?::[0-9]+)?","(?:"+s.source+")?"].join(""),"gi")}(),wordCharRegExp:new RegExp("["+e.RegexLib.alphaNumericCharsStr+"]"),openParensRe:/\(/g,closeParensRe:/\)/g,constructor:function(t){e.matcher.Matcher.prototype.constructor.call(this,t),this.stripPrefix=t.stripPrefix,this.stripTrailingSlash=t.stripTrailingSlash},parseMatches:function(t){for(var r,n=this.matcherRegex,a=this.stripPrefix,i=this.stripTrailingSlash,s=this.tagBuilder,o=[];null!==(r=n.exec(t));){var c=r[0],h=r[1],l=r[2],u=r[3],g=r[5],m=r.index,f=u||g,p=t.charAt(m-1);if(e.matcher.UrlMatchValidator.isValid(c,h)&&!(m>0&&"@"===p||m>0&&f&&this.wordCharRegExp.test(p))){if(/\?$/.test(c)&&(c=c.substr(0,c.length-1)),this.matchHasUnbalancedClosingParen(c))c=c.substr(0,c.length-1);else{var d=this.matchHasInvalidCharAfterTld(c,h);d>-1&&(c=c.substr(0,d))}var x=h?"scheme":l?"www":"tld",b=!!h;o.push(new e.match.Url({tagBuilder:s,matchedText:c,offset:m,urlMatchType:x,url:c,protocolUrlMatch:b,protocolRelativeMatch:!!f,stripPrefix:a,stripTrailingSlash:i}))}}return o},matchHasUnbalancedClosingParen:function(e){var t=e.charAt(e.length-1);if(")"===t){var r=e.match(this.openParensRe),n=e.match(this.closeParensRe),a=r&&r.length||0,i=n&&n.length||0;if(a-1},isValidUriScheme:function(e){var t=e.match(this.uriSchemeRegex)[0].toLowerCase();return"javascript:"!==t&&"vbscript:"!==t},urlMatchDoesNotHaveProtocolOrDot:function(e,t){return!(!e||t&&this.hasFullProtocolRegex.test(t)||e.indexOf(".")!==-1)},urlMatchDoesNotHaveAtLeastOneWordChar:function(e,t){return!(!e||!t)&&!this.hasWordCharAfterProtocolRegex.test(e)}},e.truncate.TruncateEnd=function(t,r,n){return e.Util.ellipsis(t,r,n)},e.truncate.TruncateMiddle=function(e,t,r){if(e.length<=t)return e;var n,a;null==r?(r="…",n=8,a=3):(n=r.length,a=r.length);var i=t-a,s="";return i>0&&(s=e.substr(-1*Math.floor(i/2))),(e.substr(0,Math.ceil(i/2))+r+s).substr(0,i+n)},e.truncate.TruncateSmart=function(e,t,r){var n,a;null==r?(r="…",a=3,n=8):(a=r.length,n=r.length);var i=function(e){var t={},r=e,n=r.match(/^([a-z]+):\/\//i);return n&&(t.scheme=n[1],r=r.substr(n[0].length)),n=r.match(/^(.*?)(?=(\?|#|\/|$))/i),n&&(t.host=n[1],r=r.substr(n[0].length)),n=r.match(/^\/(.*?)(?=(\?|#|$))/i),n&&(t.path=n[1],r=r.substr(n[0].length)),n=r.match(/^\?(.*?)(?=(#|$))/i),n&&(t.query=n[1],r=r.substr(n[0].length)),n=r.match(/^#(.*?)$/i),n&&(t.fragment=n[1]),t},s=function(e){var t="";return e.scheme&&e.host&&(t+=e.scheme+"://"),e.host&&(t+=e.host),e.path&&(t+="/"+e.path),e.query&&(t+="?"+e.query),e.fragment&&(t+="#"+e.fragment),t},o=function(e,t){var n=t/2,a=Math.ceil(n),i=-1*Math.floor(n),s="";return i<0&&(s=e.substr(i)),e.substr(0,a)+r+s};if(e.length<=t)return e;var c=t-a,h=i(e);if(h.query){var l=h.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);l&&(h.query=h.query.substr(0,l[1].length),e=s(h))}if(e.length<=t)return e;if(h.host&&(h.host=h.host.replace(/^www\./,""),e=s(h)),e.length<=t)return e;var u="";if(h.host&&(u+=h.host),u.length>=c)return h.host.length==t?(h.host.substr(0,t-a)+r).substr(0,c+n):o(u,c).substr(0,c+n);var g="";if(h.path&&(g+="/"+h.path),h.query&&(g+="?"+h.query),g){if((u+g).length>=c){if((u+g).length==t)return(u+g).substr(0,t);var m=c-u.length;return(u+o(g,m)).substr(0,c+n)}u+=g}if(h.fragment){var f="#"+h.fragment;if((u+f).length>=c){if((u+f).length==t)return(u+f).substr(0,t);var p=c-u.length;return(u+o(f,p)).substr(0,c+n)}u+=f}if(h.scheme&&h.host){var d=h.scheme+"://";if((u+d).length0&&(x=u.substr(-1*Math.floor(c/2))),(u.substr(0,Math.ceil(c/2))+r+x).substr(0,c+n)},e}); \ No newline at end of file diff --git a/docs/api/data-1df28a367878e4e8fc26f668c464fdb1.js b/docs/api/data-b1cba292aac630ea4a3da8e7d4445f33.js similarity index 80% rename from docs/api/data-1df28a367878e4e8fc26f668c464fdb1.js rename to docs/api/data-b1cba292aac630ea4a3da8e7d4445f33.js index 5d38194c..9c9d2dc9 100644 --- a/docs/api/data-1df28a367878e4e8fc26f668c464fdb1.js +++ b/docs/api/data-b1cba292aac630ea4a3da8e7d4445f33.js @@ -1 +1 @@ -Docs = {"data":{"classes":[{"name":"Autolinker.AnchorTagBuilder","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.HtmlTag","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.RegexLib","extends":null,"private":null,"icon":"icon-singleton"},{"name":"Autolinker.Util","extends":null,"private":null,"icon":"icon-singleton"},{"name":"Autolinker.htmlParser.CommentNode","extends":"Autolinker.htmlParser.HtmlNode","private":null,"icon":"icon-class"},{"name":"Autolinker.htmlParser.ElementNode","extends":"Autolinker.htmlParser.HtmlNode","private":null,"icon":"icon-class"},{"name":"Autolinker.htmlParser.EntityNode","extends":"Autolinker.htmlParser.HtmlNode","private":null,"icon":"icon-class"},{"name":"Autolinker.htmlParser.HtmlNode","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.htmlParser.HtmlParser","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.htmlParser.TextNode","extends":"Autolinker.htmlParser.HtmlNode","private":null,"icon":"icon-class"},{"name":"Autolinker.match.Email","extends":"Autolinker.match.Match","private":null,"icon":"icon-class"},{"name":"Autolinker.match.Hashtag","extends":"Autolinker.match.Match","private":null,"icon":"icon-class"},{"name":"Autolinker.match.Match","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.match.Mention","extends":"Autolinker.match.Match","private":null,"icon":"icon-class"},{"name":"Autolinker.match.Phone","extends":"Autolinker.match.Match","private":null,"icon":"icon-class"},{"name":"Autolinker.match.Url","extends":"Autolinker.match.Match","private":null,"icon":"icon-class"},{"name":"Autolinker.matcher.Email","extends":"Autolinker.matcher.Matcher","private":null,"icon":"icon-class"},{"name":"Autolinker.matcher.Hashtag","extends":"Autolinker.matcher.Matcher","private":null,"icon":"icon-class"},{"name":"Autolinker.matcher.Matcher","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.matcher.Mention","extends":"Autolinker.matcher.Matcher","private":null,"icon":"icon-class"},{"name":"Autolinker.matcher.Phone","extends":"Autolinker.matcher.Matcher","private":null,"icon":"icon-class"},{"name":"Autolinker.matcher.Url","extends":"Autolinker.matcher.Matcher","private":null,"icon":"icon-class"},{"name":"Autolinker.matcher.UrlMatchValidator","extends":null,"private":true,"icon":"icon-singleton"},{"name":"Autolinker.truncate.TruncateEnd","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.truncate.TruncateMiddle","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.truncate.TruncateSmart","extends":null,"private":null,"icon":"icon-class"}],"guides":[],"videos":[],"examples":[{"title":"Examples","items":[{"name":"live-example","title":"Live Example","description":"Live example with input to test Autolinker functionality","url":"./docs/../../examples/live-example/index.html","icon":"./docs/live-example/live-example.gif","status":"new"}]}],"search":[{"name":"AnchorTagBuilder","fullName":"Autolinker.AnchorTagBuilder","icon":"icon-class","url":"#!/api/Autolinker.AnchorTagBuilder","meta":{"protected":true},"sort":1},{"name":"newWindow","fullName":"Autolinker.AnchorTagBuilder.newWindow","icon":"icon-cfg","url":"#!/api/Autolinker.AnchorTagBuilder-cfg-newWindow","meta":{},"sort":3},{"name":"truncate","fullName":"Autolinker.AnchorTagBuilder.truncate","icon":"icon-cfg","url":"#!/api/Autolinker.AnchorTagBuilder-cfg-truncate","meta":{},"sort":3},{"name":"className","fullName":"Autolinker.AnchorTagBuilder.className","icon":"icon-cfg","url":"#!/api/Autolinker.AnchorTagBuilder-cfg-className","meta":{},"sort":3},{"name":"build","fullName":"Autolinker.AnchorTagBuilder.build","icon":"icon-method","url":"#!/api/Autolinker.AnchorTagBuilder-method-build","meta":{},"sort":3},{"name":"createAttrs","fullName":"Autolinker.AnchorTagBuilder.createAttrs","icon":"icon-method","url":"#!/api/Autolinker.AnchorTagBuilder-method-createAttrs","meta":{"protected":true},"sort":3},{"name":"createCssClass","fullName":"Autolinker.AnchorTagBuilder.createCssClass","icon":"icon-method","url":"#!/api/Autolinker.AnchorTagBuilder-method-createCssClass","meta":{"private":true},"sort":3},{"name":"processAnchorText","fullName":"Autolinker.AnchorTagBuilder.processAnchorText","icon":"icon-method","url":"#!/api/Autolinker.AnchorTagBuilder-method-processAnchorText","meta":{"private":true},"sort":3},{"name":"doTruncate","fullName":"Autolinker.AnchorTagBuilder.doTruncate","icon":"icon-method","url":"#!/api/Autolinker.AnchorTagBuilder-method-doTruncate","meta":{"private":true},"sort":3},{"name":"Autolinker","fullName":"Autolinker","icon":"icon-class","url":"#!/api/Autolinker","meta":{},"sort":1},{"name":"link","fullName":"Autolinker.link","icon":"icon-method","url":"#!/api/Autolinker-static-method-link","meta":{"static":true},"sort":3},{"name":"parse","fullName":"Autolinker.parse","icon":"icon-method","url":"#!/api/Autolinker-static-method-parse","meta":{"static":true},"sort":3},{"name":"version","fullName":"Autolinker.version","icon":"icon-property","url":"#!/api/Autolinker-static-property-version","meta":{"static":true},"sort":3},{"name":"urls","fullName":"Autolinker.urls","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-urls","meta":{},"sort":3},{"name":"email","fullName":"Autolinker.email","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-email","meta":{},"sort":3},{"name":"phone","fullName":"Autolinker.phone","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-phone","meta":{},"sort":3},{"name":"hashtag","fullName":"Autolinker.hashtag","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-hashtag","meta":{},"sort":3},{"name":"mention","fullName":"Autolinker.mention","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-mention","meta":{},"sort":3},{"name":"newWindow","fullName":"Autolinker.newWindow","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-newWindow","meta":{},"sort":3},{"name":"stripPrefix","fullName":"Autolinker.stripPrefix","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-stripPrefix","meta":{},"sort":3},{"name":"stripTrailingSlash","fullName":"Autolinker.stripTrailingSlash","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-stripTrailingSlash","meta":{},"sort":3},{"name":"truncate","fullName":"Autolinker.truncate","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-truncate","meta":{},"sort":3},{"name":"className","fullName":"Autolinker.className","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-className","meta":{},"sort":3},{"name":"replaceFn","fullName":"Autolinker.replaceFn","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-replaceFn","meta":{},"sort":3},{"name":"context","fullName":"Autolinker.context","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-context","meta":{},"sort":3},{"name":"version","fullName":"Autolinker.version","icon":"icon-property","url":"#!/api/Autolinker-property-version","meta":{},"sort":3},{"name":"htmlParser","fullName":"Autolinker.htmlParser","icon":"icon-property","url":"#!/api/Autolinker-property-htmlParser","meta":{"private":true},"sort":3},{"name":"matchers","fullName":"Autolinker.matchers","icon":"icon-property","url":"#!/api/Autolinker-property-matchers","meta":{"private":true},"sort":3},{"name":"tagBuilder","fullName":"Autolinker.tagBuilder","icon":"icon-property","url":"#!/api/Autolinker-property-tagBuilder","meta":{"private":true},"sort":3},{"name":"normalizeUrlsCfg","fullName":"Autolinker.normalizeUrlsCfg","icon":"icon-method","url":"#!/api/Autolinker-method-normalizeUrlsCfg","meta":{"private":true},"sort":3},{"name":"normalizeStripPrefixCfg","fullName":"Autolinker.normalizeStripPrefixCfg","icon":"icon-method","url":"#!/api/Autolinker-method-normalizeStripPrefixCfg","meta":{"private":true},"sort":3},{"name":"normalizeTruncateCfg","fullName":"Autolinker.normalizeTruncateCfg","icon":"icon-method","url":"#!/api/Autolinker-method-normalizeTruncateCfg","meta":{"private":true},"sort":3},{"name":"parse","fullName":"Autolinker.parse","icon":"icon-method","url":"#!/api/Autolinker-method-parse","meta":{},"sort":3},{"name":"compactMatches","fullName":"Autolinker.compactMatches","icon":"icon-method","url":"#!/api/Autolinker-method-compactMatches","meta":{"private":true},"sort":3},{"name":"removeUnwantedMatches","fullName":"Autolinker.removeUnwantedMatches","icon":"icon-method","url":"#!/api/Autolinker-method-removeUnwantedMatches","meta":{"private":true},"sort":3},{"name":"parseText","fullName":"Autolinker.parseText","icon":"icon-method","url":"#!/api/Autolinker-method-parseText","meta":{"private":true},"sort":3},{"name":"link","fullName":"Autolinker.link","icon":"icon-method","url":"#!/api/Autolinker-method-link","meta":{},"sort":3},{"name":"createMatchReturnVal","fullName":"Autolinker.createMatchReturnVal","icon":"icon-method","url":"#!/api/Autolinker-method-createMatchReturnVal","meta":{"private":true},"sort":3},{"name":"getHtmlParser","fullName":"Autolinker.getHtmlParser","icon":"icon-method","url":"#!/api/Autolinker-method-getHtmlParser","meta":{"protected":true},"sort":3},{"name":"getMatchers","fullName":"Autolinker.getMatchers","icon":"icon-method","url":"#!/api/Autolinker-method-getMatchers","meta":{"protected":true},"sort":3},{"name":"getTagBuilder","fullName":"Autolinker.getTagBuilder","icon":"icon-method","url":"#!/api/Autolinker-method-getTagBuilder","meta":{},"sort":3},{"name":"HtmlTag","fullName":"Autolinker.HtmlTag","icon":"icon-class","url":"#!/api/Autolinker.HtmlTag","meta":{},"sort":1},{"name":"tagName","fullName":"Autolinker.HtmlTag.tagName","icon":"icon-cfg","url":"#!/api/Autolinker.HtmlTag-cfg-tagName","meta":{},"sort":3},{"name":"attrs","fullName":"Autolinker.HtmlTag.attrs","icon":"icon-cfg","url":"#!/api/Autolinker.HtmlTag-cfg-attrs","meta":{},"sort":3},{"name":"innerHtml","fullName":"Autolinker.HtmlTag.innerHtml","icon":"icon-cfg","url":"#!/api/Autolinker.HtmlTag-cfg-innerHtml","meta":{},"sort":3},{"name":"innerHTML","fullName":"Autolinker.HtmlTag.innerHTML","icon":"icon-cfg","url":"#!/api/Autolinker.HtmlTag-cfg-innerHTML","meta":{},"sort":3},{"name":"whitespaceRegex","fullName":"Autolinker.HtmlTag.whitespaceRegex","icon":"icon-property","url":"#!/api/Autolinker.HtmlTag-property-whitespaceRegex","meta":{"protected":true},"sort":3},{"name":"setTagName","fullName":"Autolinker.HtmlTag.setTagName","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-setTagName","meta":{"chainable":true},"sort":3},{"name":"getTagName","fullName":"Autolinker.HtmlTag.getTagName","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-getTagName","meta":{},"sort":3},{"name":"setAttr","fullName":"Autolinker.HtmlTag.setAttr","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-setAttr","meta":{"chainable":true},"sort":3},{"name":"getAttr","fullName":"Autolinker.HtmlTag.getAttr","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-getAttr","meta":{},"sort":3},{"name":"setAttrs","fullName":"Autolinker.HtmlTag.setAttrs","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-setAttrs","meta":{"chainable":true},"sort":3},{"name":"getAttrs","fullName":"Autolinker.HtmlTag.getAttrs","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-getAttrs","meta":{},"sort":3},{"name":"setClass","fullName":"Autolinker.HtmlTag.setClass","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-setClass","meta":{},"sort":3},{"name":"addClass","fullName":"Autolinker.HtmlTag.addClass","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-addClass","meta":{"chainable":true},"sort":3},{"name":"removeClass","fullName":"Autolinker.HtmlTag.removeClass","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-removeClass","meta":{"chainable":true},"sort":3},{"name":"getClass","fullName":"Autolinker.HtmlTag.getClass","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-getClass","meta":{},"sort":3},{"name":"hasClass","fullName":"Autolinker.HtmlTag.hasClass","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-hasClass","meta":{},"sort":3},{"name":"setInnerHtml","fullName":"Autolinker.HtmlTag.setInnerHtml","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-setInnerHtml","meta":{"chainable":true},"sort":3},{"name":"getInnerHtml","fullName":"Autolinker.HtmlTag.getInnerHtml","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-getInnerHtml","meta":{},"sort":3},{"name":"toAnchorString","fullName":"Autolinker.HtmlTag.toAnchorString","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-toAnchorString","meta":{},"sort":3},{"name":"buildAttrsStr","fullName":"Autolinker.HtmlTag.buildAttrsStr","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-buildAttrsStr","meta":{"protected":true},"sort":3},{"name":"RegexLib","fullName":"Autolinker.RegexLib","icon":"icon-singleton","url":"#!/api/Autolinker.RegexLib","meta":{},"sort":1},{"name":"alphaCharsStr","fullName":"Autolinker.RegexLib.alphaCharsStr","icon":"icon-property","url":"#!/api/Autolinker.RegexLib-property-alphaCharsStr","meta":{"private":true},"sort":3},{"name":"decimalNumbersStr","fullName":"Autolinker.RegexLib.decimalNumbersStr","icon":"icon-property","url":"#!/api/Autolinker.RegexLib-property-decimalNumbersStr","meta":{"private":true},"sort":3},{"name":"alphaNumericCharsStr","fullName":"Autolinker.RegexLib.alphaNumericCharsStr","icon":"icon-property","url":"#!/api/Autolinker.RegexLib-property-alphaNumericCharsStr","meta":{},"sort":3},{"name":"alphaCharsStr","fullName":"Autolinker.RegexLib.alphaCharsStr","icon":"icon-property","url":"#!/api/Autolinker.RegexLib-property-alphaCharsStr","meta":{},"sort":3},{"name":"domainNameRegex","fullName":"Autolinker.RegexLib.domainNameRegex","icon":"icon-property","url":"#!/api/Autolinker.RegexLib-property-domainNameRegex","meta":{},"sort":3},{"name":"Util","fullName":"Autolinker.Util","icon":"icon-singleton","url":"#!/api/Autolinker.Util","meta":{},"sort":1},{"name":"abstractMethod","fullName":"Autolinker.Util.abstractMethod","icon":"icon-property","url":"#!/api/Autolinker.Util-property-abstractMethod","meta":{},"sort":3},{"name":"trimRegex","fullName":"Autolinker.Util.trimRegex","icon":"icon-property","url":"#!/api/Autolinker.Util-property-trimRegex","meta":{"private":true},"sort":3},{"name":"assign","fullName":"Autolinker.Util.assign","icon":"icon-method","url":"#!/api/Autolinker.Util-method-assign","meta":{},"sort":3},{"name":"defaults","fullName":"Autolinker.Util.defaults","icon":"icon-method","url":"#!/api/Autolinker.Util-method-defaults","meta":{},"sort":3},{"name":"extend","fullName":"Autolinker.Util.extend","icon":"icon-method","url":"#!/api/Autolinker.Util-method-extend","meta":{},"sort":3},{"name":"ellipsis","fullName":"Autolinker.Util.ellipsis","icon":"icon-method","url":"#!/api/Autolinker.Util-method-ellipsis","meta":{},"sort":3},{"name":"indexOf","fullName":"Autolinker.Util.indexOf","icon":"icon-method","url":"#!/api/Autolinker.Util-method-indexOf","meta":{},"sort":3},{"name":"remove","fullName":"Autolinker.Util.remove","icon":"icon-method","url":"#!/api/Autolinker.Util-method-remove","meta":{},"sort":3},{"name":"splitAndCapture","fullName":"Autolinker.Util.splitAndCapture","icon":"icon-method","url":"#!/api/Autolinker.Util-method-splitAndCapture","meta":{},"sort":3},{"name":"trim","fullName":"Autolinker.Util.trim","icon":"icon-method","url":"#!/api/Autolinker.Util-method-trim","meta":{},"sort":3},{"name":"CommentNode","fullName":"Autolinker.htmlParser.CommentNode","icon":"icon-class","url":"#!/api/Autolinker.htmlParser.CommentNode","meta":{},"sort":1},{"name":"comment","fullName":"Autolinker.htmlParser.CommentNode.comment","icon":"icon-cfg","url":"#!/api/Autolinker.htmlParser.CommentNode-cfg-comment","meta":{"required":true},"sort":3},{"name":"getType","fullName":"Autolinker.htmlParser.CommentNode.getType","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.CommentNode-method-getType","meta":{},"sort":3},{"name":"getComment","fullName":"Autolinker.htmlParser.CommentNode.getComment","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.CommentNode-method-getComment","meta":{},"sort":3},{"name":"ElementNode","fullName":"Autolinker.htmlParser.ElementNode","icon":"icon-class","url":"#!/api/Autolinker.htmlParser.ElementNode","meta":{},"sort":1},{"name":"tagName","fullName":"Autolinker.htmlParser.ElementNode.tagName","icon":"icon-cfg","url":"#!/api/Autolinker.htmlParser.ElementNode-cfg-tagName","meta":{"required":true},"sort":3},{"name":"closing","fullName":"Autolinker.htmlParser.ElementNode.closing","icon":"icon-cfg","url":"#!/api/Autolinker.htmlParser.ElementNode-cfg-closing","meta":{"required":true},"sort":3},{"name":"getType","fullName":"Autolinker.htmlParser.ElementNode.getType","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.ElementNode-method-getType","meta":{},"sort":3},{"name":"getTagName","fullName":"Autolinker.htmlParser.ElementNode.getTagName","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.ElementNode-method-getTagName","meta":{},"sort":3},{"name":"isClosing","fullName":"Autolinker.htmlParser.ElementNode.isClosing","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.ElementNode-method-isClosing","meta":{},"sort":3},{"name":"EntityNode","fullName":"Autolinker.htmlParser.EntityNode","icon":"icon-class","url":"#!/api/Autolinker.htmlParser.EntityNode","meta":{},"sort":1},{"name":"getType","fullName":"Autolinker.htmlParser.EntityNode.getType","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.EntityNode-method-getType","meta":{},"sort":3},{"name":"HtmlNode","fullName":"Autolinker.htmlParser.HtmlNode","icon":"icon-class","url":"#!/api/Autolinker.htmlParser.HtmlNode","meta":{"abstract":true},"sort":1},{"name":"offset","fullName":"Autolinker.htmlParser.HtmlNode.offset","icon":"icon-cfg","url":"#!/api/Autolinker.htmlParser.HtmlNode-cfg-offset","meta":{"required":true},"sort":3},{"name":"text","fullName":"Autolinker.htmlParser.HtmlNode.text","icon":"icon-cfg","url":"#!/api/Autolinker.htmlParser.HtmlNode-cfg-text","meta":{"required":true},"sort":3},{"name":"getType","fullName":"Autolinker.htmlParser.HtmlNode.getType","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlNode-method-getType","meta":{"abstract":true},"sort":3},{"name":"getOffset","fullName":"Autolinker.htmlParser.HtmlNode.getOffset","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlNode-method-getOffset","meta":{},"sort":3},{"name":"getText","fullName":"Autolinker.htmlParser.HtmlNode.getText","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlNode-method-getText","meta":{},"sort":3},{"name":"HtmlParser","fullName":"Autolinker.htmlParser.HtmlParser","icon":"icon-class","url":"#!/api/Autolinker.htmlParser.HtmlParser","meta":{},"sort":1},{"name":"htmlRegex","fullName":"Autolinker.htmlParser.HtmlParser.htmlRegex","icon":"icon-property","url":"#!/api/Autolinker.htmlParser.HtmlParser-property-htmlRegex","meta":{"private":true},"sort":3},{"name":"htmlCharacterEntitiesRegex","fullName":"Autolinker.htmlParser.HtmlParser.htmlCharacterEntitiesRegex","icon":"icon-property","url":"#!/api/Autolinker.htmlParser.HtmlParser-property-htmlCharacterEntitiesRegex","meta":{"private":true},"sort":3},{"name":"parse","fullName":"Autolinker.htmlParser.HtmlParser.parse","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlParser-method-parse","meta":{},"sort":3},{"name":"parseTextAndEntityNodes","fullName":"Autolinker.htmlParser.HtmlParser.parseTextAndEntityNodes","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlParser-method-parseTextAndEntityNodes","meta":{"private":true},"sort":3},{"name":"createCommentNode","fullName":"Autolinker.htmlParser.HtmlParser.createCommentNode","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlParser-method-createCommentNode","meta":{"private":true},"sort":3},{"name":"createElementNode","fullName":"Autolinker.htmlParser.HtmlParser.createElementNode","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlParser-method-createElementNode","meta":{"private":true},"sort":3},{"name":"createEntityNode","fullName":"Autolinker.htmlParser.HtmlParser.createEntityNode","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlParser-method-createEntityNode","meta":{"private":true},"sort":3},{"name":"createTextNode","fullName":"Autolinker.htmlParser.HtmlParser.createTextNode","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlParser-method-createTextNode","meta":{"private":true},"sort":3},{"name":"TextNode","fullName":"Autolinker.htmlParser.TextNode","icon":"icon-class","url":"#!/api/Autolinker.htmlParser.TextNode","meta":{},"sort":1},{"name":"getType","fullName":"Autolinker.htmlParser.TextNode.getType","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.TextNode-method-getType","meta":{},"sort":3},{"name":"Email","fullName":"Autolinker.match.Email","icon":"icon-class","url":"#!/api/Autolinker.match.Email","meta":{},"sort":1},{"name":"email","fullName":"Autolinker.match.Email.email","icon":"icon-cfg","url":"#!/api/Autolinker.match.Email-cfg-email","meta":{"required":true},"sort":3},{"name":"getType","fullName":"Autolinker.match.Email.getType","icon":"icon-method","url":"#!/api/Autolinker.match.Email-method-getType","meta":{},"sort":3},{"name":"getEmail","fullName":"Autolinker.match.Email.getEmail","icon":"icon-method","url":"#!/api/Autolinker.match.Email-method-getEmail","meta":{},"sort":3},{"name":"getAnchorHref","fullName":"Autolinker.match.Email.getAnchorHref","icon":"icon-method","url":"#!/api/Autolinker.match.Email-method-getAnchorHref","meta":{},"sort":3},{"name":"getAnchorText","fullName":"Autolinker.match.Email.getAnchorText","icon":"icon-method","url":"#!/api/Autolinker.match.Email-method-getAnchorText","meta":{},"sort":3},{"name":"Hashtag","fullName":"Autolinker.match.Hashtag","icon":"icon-class","url":"#!/api/Autolinker.match.Hashtag","meta":{},"sort":1},{"name":"serviceName","fullName":"Autolinker.match.Hashtag.serviceName","icon":"icon-cfg","url":"#!/api/Autolinker.match.Hashtag-cfg-serviceName","meta":{},"sort":3},{"name":"hashtag","fullName":"Autolinker.match.Hashtag.hashtag","icon":"icon-cfg","url":"#!/api/Autolinker.match.Hashtag-cfg-hashtag","meta":{"required":true},"sort":3},{"name":"getType","fullName":"Autolinker.match.Hashtag.getType","icon":"icon-method","url":"#!/api/Autolinker.match.Hashtag-method-getType","meta":{},"sort":3},{"name":"getServiceName","fullName":"Autolinker.match.Hashtag.getServiceName","icon":"icon-method","url":"#!/api/Autolinker.match.Hashtag-method-getServiceName","meta":{},"sort":3},{"name":"getHashtag","fullName":"Autolinker.match.Hashtag.getHashtag","icon":"icon-method","url":"#!/api/Autolinker.match.Hashtag-method-getHashtag","meta":{},"sort":3},{"name":"getAnchorHref","fullName":"Autolinker.match.Hashtag.getAnchorHref","icon":"icon-method","url":"#!/api/Autolinker.match.Hashtag-method-getAnchorHref","meta":{},"sort":3},{"name":"getAnchorText","fullName":"Autolinker.match.Hashtag.getAnchorText","icon":"icon-method","url":"#!/api/Autolinker.match.Hashtag-method-getAnchorText","meta":{},"sort":3},{"name":"Match","fullName":"Autolinker.match.Match","icon":"icon-class","url":"#!/api/Autolinker.match.Match","meta":{"abstract":true},"sort":1},{"name":"tagBuilder","fullName":"Autolinker.match.Match.tagBuilder","icon":"icon-cfg","url":"#!/api/Autolinker.match.Match-cfg-tagBuilder","meta":{"required":true},"sort":3},{"name":"matchedText","fullName":"Autolinker.match.Match.matchedText","icon":"icon-cfg","url":"#!/api/Autolinker.match.Match-cfg-matchedText","meta":{"required":true},"sort":3},{"name":"offset","fullName":"Autolinker.match.Match.offset","icon":"icon-cfg","url":"#!/api/Autolinker.match.Match-cfg-offset","meta":{"required":true},"sort":3},{"name":"getType","fullName":"Autolinker.match.Match.getType","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-getType","meta":{"abstract":true},"sort":3},{"name":"getMatchedText","fullName":"Autolinker.match.Match.getMatchedText","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-getMatchedText","meta":{},"sort":3},{"name":"setOffset","fullName":"Autolinker.match.Match.setOffset","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-setOffset","meta":{},"sort":3},{"name":"getOffset","fullName":"Autolinker.match.Match.getOffset","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-getOffset","meta":{},"sort":3},{"name":"getAnchorHref","fullName":"Autolinker.match.Match.getAnchorHref","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-getAnchorHref","meta":{"abstract":true},"sort":3},{"name":"getAnchorText","fullName":"Autolinker.match.Match.getAnchorText","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-getAnchorText","meta":{"abstract":true},"sort":3},{"name":"getCssClassSuffixes","fullName":"Autolinker.match.Match.getCssClassSuffixes","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-getCssClassSuffixes","meta":{},"sort":3},{"name":"buildTag","fullName":"Autolinker.match.Match.buildTag","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-buildTag","meta":{},"sort":3},{"name":"Mention","fullName":"Autolinker.match.Mention","icon":"icon-class","url":"#!/api/Autolinker.match.Mention","meta":{},"sort":1},{"name":"serviceName","fullName":"Autolinker.match.Mention.serviceName","icon":"icon-cfg","url":"#!/api/Autolinker.match.Mention-cfg-serviceName","meta":{},"sort":3},{"name":"mention","fullName":"Autolinker.match.Mention.mention","icon":"icon-cfg","url":"#!/api/Autolinker.match.Mention-cfg-mention","meta":{"required":true},"sort":3},{"name":"getType","fullName":"Autolinker.match.Mention.getType","icon":"icon-method","url":"#!/api/Autolinker.match.Mention-method-getType","meta":{},"sort":3},{"name":"getMention","fullName":"Autolinker.match.Mention.getMention","icon":"icon-method","url":"#!/api/Autolinker.match.Mention-method-getMention","meta":{},"sort":3},{"name":"getServiceName","fullName":"Autolinker.match.Mention.getServiceName","icon":"icon-method","url":"#!/api/Autolinker.match.Mention-method-getServiceName","meta":{},"sort":3},{"name":"getAnchorHref","fullName":"Autolinker.match.Mention.getAnchorHref","icon":"icon-method","url":"#!/api/Autolinker.match.Mention-method-getAnchorHref","meta":{},"sort":3},{"name":"getAnchorText","fullName":"Autolinker.match.Mention.getAnchorText","icon":"icon-method","url":"#!/api/Autolinker.match.Mention-method-getAnchorText","meta":{},"sort":3},{"name":"getCssClassSuffixes","fullName":"Autolinker.match.Mention.getCssClassSuffixes","icon":"icon-method","url":"#!/api/Autolinker.match.Mention-method-getCssClassSuffixes","meta":{},"sort":3},{"name":"Phone","fullName":"Autolinker.match.Phone","icon":"icon-class","url":"#!/api/Autolinker.match.Phone","meta":{},"sort":1},{"name":"number","fullName":"Autolinker.match.Phone.number","icon":"icon-property","url":"#!/api/Autolinker.match.Phone-property-number","meta":{"protected":true},"sort":3},{"name":"plusSign","fullName":"Autolinker.match.Phone.plusSign","icon":"icon-property","url":"#!/api/Autolinker.match.Phone-property-plusSign","meta":{"protected":true},"sort":3},{"name":"getType","fullName":"Autolinker.match.Phone.getType","icon":"icon-method","url":"#!/api/Autolinker.match.Phone-method-getType","meta":{},"sort":3},{"name":"getNumber","fullName":"Autolinker.match.Phone.getNumber","icon":"icon-method","url":"#!/api/Autolinker.match.Phone-method-getNumber","meta":{},"sort":3},{"name":"getAnchorHref","fullName":"Autolinker.match.Phone.getAnchorHref","icon":"icon-method","url":"#!/api/Autolinker.match.Phone-method-getAnchorHref","meta":{},"sort":3},{"name":"getAnchorText","fullName":"Autolinker.match.Phone.getAnchorText","icon":"icon-method","url":"#!/api/Autolinker.match.Phone-method-getAnchorText","meta":{},"sort":3},{"name":"Url","fullName":"Autolinker.match.Url","icon":"icon-class","url":"#!/api/Autolinker.match.Url","meta":{},"sort":1},{"name":"url","fullName":"Autolinker.match.Url.url","icon":"icon-cfg","url":"#!/api/Autolinker.match.Url-cfg-url","meta":{"required":true},"sort":3},{"name":"urlMatchType","fullName":"Autolinker.match.Url.urlMatchType","icon":"icon-cfg","url":"#!/api/Autolinker.match.Url-cfg-urlMatchType","meta":{"required":true},"sort":3},{"name":"protocolUrlMatch","fullName":"Autolinker.match.Url.protocolUrlMatch","icon":"icon-cfg","url":"#!/api/Autolinker.match.Url-cfg-protocolUrlMatch","meta":{"required":true},"sort":3},{"name":"protocolRelativeMatch","fullName":"Autolinker.match.Url.protocolRelativeMatch","icon":"icon-cfg","url":"#!/api/Autolinker.match.Url-cfg-protocolRelativeMatch","meta":{"required":true},"sort":3},{"name":"stripPrefix","fullName":"Autolinker.match.Url.stripPrefix","icon":"icon-cfg","url":"#!/api/Autolinker.match.Url-cfg-stripPrefix","meta":{"required":true},"sort":3},{"name":"stripTrailingSlash","fullName":"Autolinker.match.Url.stripTrailingSlash","icon":"icon-cfg","url":"#!/api/Autolinker.match.Url-cfg-stripTrailingSlash","meta":{"required":true},"sort":3},{"name":"schemePrefixRegex","fullName":"Autolinker.match.Url.schemePrefixRegex","icon":"icon-property","url":"#!/api/Autolinker.match.Url-property-schemePrefixRegex","meta":{"private":true},"sort":3},{"name":"wwwPrefixRegex","fullName":"Autolinker.match.Url.wwwPrefixRegex","icon":"icon-property","url":"#!/api/Autolinker.match.Url-property-wwwPrefixRegex","meta":{"private":true},"sort":3},{"name":"protocolRelativeRegex","fullName":"Autolinker.match.Url.protocolRelativeRegex","icon":"icon-property","url":"#!/api/Autolinker.match.Url-property-protocolRelativeRegex","meta":{"private":true},"sort":3},{"name":"protocolPrepended","fullName":"Autolinker.match.Url.protocolPrepended","icon":"icon-property","url":"#!/api/Autolinker.match.Url-property-protocolPrepended","meta":{"private":true},"sort":3},{"name":"getType","fullName":"Autolinker.match.Url.getType","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-getType","meta":{},"sort":3},{"name":"getUrlMatchType","fullName":"Autolinker.match.Url.getUrlMatchType","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-getUrlMatchType","meta":{},"sort":3},{"name":"getUrl","fullName":"Autolinker.match.Url.getUrl","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-getUrl","meta":{},"sort":3},{"name":"getAnchorHref","fullName":"Autolinker.match.Url.getAnchorHref","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-getAnchorHref","meta":{},"sort":3},{"name":"getAnchorText","fullName":"Autolinker.match.Url.getAnchorText","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-getAnchorText","meta":{},"sort":3},{"name":"stripSchemePrefix","fullName":"Autolinker.match.Url.stripSchemePrefix","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-stripSchemePrefix","meta":{"private":true},"sort":3},{"name":"stripWwwPrefix","fullName":"Autolinker.match.Url.stripWwwPrefix","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-stripWwwPrefix","meta":{"private":true},"sort":3},{"name":"stripProtocolRelativePrefix","fullName":"Autolinker.match.Url.stripProtocolRelativePrefix","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-stripProtocolRelativePrefix","meta":{"private":true},"sort":3},{"name":"removeTrailingSlash","fullName":"Autolinker.match.Url.removeTrailingSlash","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-removeTrailingSlash","meta":{"private":true},"sort":3},{"name":"Email","fullName":"Autolinker.matcher.Email","icon":"icon-class","url":"#!/api/Autolinker.matcher.Email","meta":{},"sort":1},{"name":"matcherRegex","fullName":"Autolinker.matcher.Email.matcherRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.Email-property-matcherRegex","meta":{"private":true},"sort":3},{"name":"parseMatches","fullName":"Autolinker.matcher.Email.parseMatches","icon":"icon-method","url":"#!/api/Autolinker.matcher.Email-method-parseMatches","meta":{},"sort":3},{"name":"Hashtag","fullName":"Autolinker.matcher.Hashtag","icon":"icon-class","url":"#!/api/Autolinker.matcher.Hashtag","meta":{},"sort":1},{"name":"serviceName","fullName":"Autolinker.matcher.Hashtag.serviceName","icon":"icon-cfg","url":"#!/api/Autolinker.matcher.Hashtag-cfg-serviceName","meta":{},"sort":3},{"name":"matcherRegex","fullName":"Autolinker.matcher.Hashtag.matcherRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.Hashtag-property-matcherRegex","meta":{"private":true},"sort":3},{"name":"nonWordCharRegex","fullName":"Autolinker.matcher.Hashtag.nonWordCharRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.Hashtag-property-nonWordCharRegex","meta":{"private":true},"sort":3},{"name":"parseMatches","fullName":"Autolinker.matcher.Hashtag.parseMatches","icon":"icon-method","url":"#!/api/Autolinker.matcher.Hashtag-method-parseMatches","meta":{},"sort":3},{"name":"Matcher","fullName":"Autolinker.matcher.Matcher","icon":"icon-class","url":"#!/api/Autolinker.matcher.Matcher","meta":{"abstract":true},"sort":1},{"name":"tagBuilder","fullName":"Autolinker.matcher.Matcher.tagBuilder","icon":"icon-cfg","url":"#!/api/Autolinker.matcher.Matcher-cfg-tagBuilder","meta":{"required":true},"sort":3},{"name":"parseMatches","fullName":"Autolinker.matcher.Matcher.parseMatches","icon":"icon-method","url":"#!/api/Autolinker.matcher.Matcher-method-parseMatches","meta":{"abstract":true},"sort":3},{"name":"Mention","fullName":"Autolinker.matcher.Mention","icon":"icon-class","url":"#!/api/Autolinker.matcher.Mention","meta":{},"sort":1},{"name":"matcherRegexes","fullName":"Autolinker.matcher.Mention.matcherRegexes","icon":"icon-property","url":"#!/api/Autolinker.matcher.Mention-property-matcherRegexes","meta":{"private":true},"sort":3},{"name":"nonWordCharRegex","fullName":"Autolinker.matcher.Mention.nonWordCharRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.Mention-property-nonWordCharRegex","meta":{"private":true},"sort":3},{"name":"parseMatches","fullName":"Autolinker.matcher.Mention.parseMatches","icon":"icon-method","url":"#!/api/Autolinker.matcher.Mention-method-parseMatches","meta":{},"sort":3},{"name":"Phone","fullName":"Autolinker.matcher.Phone","icon":"icon-class","url":"#!/api/Autolinker.matcher.Phone","meta":{},"sort":1},{"name":"matcherRegex","fullName":"Autolinker.matcher.Phone.matcherRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.Phone-property-matcherRegex","meta":{"private":true},"sort":3},{"name":"parseMatches","fullName":"Autolinker.matcher.Phone.parseMatches","icon":"icon-method","url":"#!/api/Autolinker.matcher.Phone-method-parseMatches","meta":{},"sort":3},{"name":"Url","fullName":"Autolinker.matcher.Url","icon":"icon-class","url":"#!/api/Autolinker.matcher.Url","meta":{},"sort":1},{"name":"stripPrefix","fullName":"Autolinker.matcher.Url.stripPrefix","icon":"icon-cfg","url":"#!/api/Autolinker.matcher.Url-cfg-stripPrefix","meta":{"required":true},"sort":3},{"name":"stripTrailingSlash","fullName":"Autolinker.matcher.Url.stripTrailingSlash","icon":"icon-cfg","url":"#!/api/Autolinker.matcher.Url-cfg-stripTrailingSlash","meta":{"required":true},"sort":3},{"name":"matcherRegex","fullName":"Autolinker.matcher.Url.matcherRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.Url-property-matcherRegex","meta":{"private":true},"sort":3},{"name":"wordCharRegExp","fullName":"Autolinker.matcher.Url.wordCharRegExp","icon":"icon-property","url":"#!/api/Autolinker.matcher.Url-property-wordCharRegExp","meta":{"private":true},"sort":3},{"name":"openParensRe","fullName":"Autolinker.matcher.Url.openParensRe","icon":"icon-property","url":"#!/api/Autolinker.matcher.Url-property-openParensRe","meta":{"private":true},"sort":3},{"name":"closeParensRe","fullName":"Autolinker.matcher.Url.closeParensRe","icon":"icon-property","url":"#!/api/Autolinker.matcher.Url-property-closeParensRe","meta":{"private":true},"sort":3},{"name":"parseMatches","fullName":"Autolinker.matcher.Url.parseMatches","icon":"icon-method","url":"#!/api/Autolinker.matcher.Url-method-parseMatches","meta":{},"sort":3},{"name":"matchHasUnbalancedClosingParen","fullName":"Autolinker.matcher.Url.matchHasUnbalancedClosingParen","icon":"icon-method","url":"#!/api/Autolinker.matcher.Url-method-matchHasUnbalancedClosingParen","meta":{"private":true},"sort":3},{"name":"matchHasInvalidCharAfterTld","fullName":"Autolinker.matcher.Url.matchHasInvalidCharAfterTld","icon":"icon-method","url":"#!/api/Autolinker.matcher.Url-method-matchHasInvalidCharAfterTld","meta":{"private":true},"sort":3},{"name":"UrlMatchValidator","fullName":"Autolinker.matcher.UrlMatchValidator","icon":"icon-singleton","url":"#!/api/Autolinker.matcher.UrlMatchValidator","meta":{"private":true},"sort":1},{"name":"isValidIpAddress","fullName":"Autolinker.matcher.UrlMatchValidator.isValidIpAddress","icon":"icon-method","url":"#!/api/Autolinker.matcher.UrlMatchValidator-method-isValidIpAddress","meta":{"private":true},"sort":3},{"name":"containsMultipleDots","fullName":"Autolinker.matcher.UrlMatchValidator.containsMultipleDots","icon":"icon-method","url":"#!/api/Autolinker.matcher.UrlMatchValidator-method-containsMultipleDots","meta":{"private":true},"sort":3},{"name":"hasFullProtocolRegex","fullName":"Autolinker.matcher.UrlMatchValidator.hasFullProtocolRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.UrlMatchValidator-property-hasFullProtocolRegex","meta":{"private":true},"sort":3},{"name":"uriSchemeRegex","fullName":"Autolinker.matcher.UrlMatchValidator.uriSchemeRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.UrlMatchValidator-property-uriSchemeRegex","meta":{"private":true},"sort":3},{"name":"hasWordCharAfterProtocolRegex","fullName":"Autolinker.matcher.UrlMatchValidator.hasWordCharAfterProtocolRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.UrlMatchValidator-property-hasWordCharAfterProtocolRegex","meta":{"private":true},"sort":3},{"name":"ipRegex","fullName":"Autolinker.matcher.UrlMatchValidator.ipRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.UrlMatchValidator-property-ipRegex","meta":{"private":true},"sort":3},{"name":"isValid","fullName":"Autolinker.matcher.UrlMatchValidator.isValid","icon":"icon-method","url":"#!/api/Autolinker.matcher.UrlMatchValidator-method-isValid","meta":{},"sort":3},{"name":"isValidUriScheme","fullName":"Autolinker.matcher.UrlMatchValidator.isValidUriScheme","icon":"icon-method","url":"#!/api/Autolinker.matcher.UrlMatchValidator-method-isValidUriScheme","meta":{"private":true},"sort":3},{"name":"urlMatchDoesNotHaveProtocolOrDot","fullName":"Autolinker.matcher.UrlMatchValidator.urlMatchDoesNotHaveProtocolOrDot","icon":"icon-method","url":"#!/api/Autolinker.matcher.UrlMatchValidator-method-urlMatchDoesNotHaveProtocolOrDot","meta":{"private":true},"sort":3},{"name":"urlMatchDoesNotHaveAtLeastOneWordChar","fullName":"Autolinker.matcher.UrlMatchValidator.urlMatchDoesNotHaveAtLeastOneWordChar","icon":"icon-method","url":"#!/api/Autolinker.matcher.UrlMatchValidator-method-urlMatchDoesNotHaveAtLeastOneWordChar","meta":{"private":true},"sort":3},{"name":"TruncateEnd","fullName":"Autolinker.truncate.TruncateEnd","icon":"icon-class","url":"#!/api/Autolinker.truncate.TruncateEnd","meta":{},"sort":1},{"name":"TruncateMiddle","fullName":"Autolinker.truncate.TruncateMiddle","icon":"icon-class","url":"#!/api/Autolinker.truncate.TruncateMiddle","meta":{},"sort":1},{"name":"TruncateSmart","fullName":"Autolinker.truncate.TruncateSmart","icon":"icon-class","url":"#!/api/Autolinker.truncate.TruncateSmart","meta":{},"sort":1},{"name":"Live Example","fullName":"example: Live Example","icon":"icon-example","url":"#!/example/live-example","meta":{},"sort":4}],"guideSearch":{},"tests":false,"signatures":[{"long":"abstract","short":"ABS","tagname":"abstract"},{"long":"chainable","short":">","tagname":"chainable"},{"long":"deprecated","short":"DEP","tagname":"deprecated"},{"long":"experimental","short":"EXP","tagname":"experimental"},{"long":"★","short":"★","tagname":"new"},{"long":"preventable","short":"PREV","tagname":"preventable"},{"long":"private","short":"PRI","tagname":"private"},{"long":"protected","short":"PRO","tagname":"protected"},{"long":"readonly","short":"R O","tagname":"readonly"},{"long":"removed","short":"REM","tagname":"removed"},{"long":"required","short":"REQ","tagname":"required"},{"long":"static","short":"STA","tagname":"static"},{"long":"template","short":"TMP","tagname":"template"}],"memberTypes":[{"title":"Config options","toolbar_title":"Configs","position":1,"icon":"/home/olivier/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/cfg.png","subsections":[{"title":"Required config options","filter":{"required":true}},{"title":"Optional config options","filter":{"required":false},"default":true}],"name":"cfg"},{"title":"Properties","position":2,"icon":"/home/olivier/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/property.png","subsections":[{"title":"Instance properties","filter":{"static":false},"default":true},{"title":"Static properties","filter":{"static":true}}],"name":"property"},{"title":"Methods","position":3,"icon":"/home/olivier/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/method.png","subsections":[{"title":"Instance methods","filter":{"static":false},"default":true},{"title":"Static methods","filter":{"static":true}}],"name":"method"},{"title":"Events","position":4,"icon":"/home/olivier/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/event.png","name":"event"},{"title":"CSS Variables","toolbar_title":"CSS Vars","position":5,"icon":"/home/olivier/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_var.png","name":"css_var"},{"title":"CSS Mixins","position":6,"icon":"/home/olivier/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_mixin.png","name":"css_mixin"}],"localStorageDb":"docs","showPrintButton":false,"touchExamplesUi":false,"source":true,"commentsUrl":null,"commentsDomain":null,"message":""}}; +Docs = {"data":{"classes":[{"name":"Autolinker.AnchorTagBuilder","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.HtmlTag","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.RegexLib","extends":null,"private":null,"icon":"icon-singleton"},{"name":"Autolinker.Util","extends":null,"private":null,"icon":"icon-singleton"},{"name":"Autolinker.match.Email","extends":"Autolinker.match.Match","private":null,"icon":"icon-class"},{"name":"Autolinker.match.Hashtag","extends":"Autolinker.match.Match","private":null,"icon":"icon-class"},{"name":"Autolinker.match.Match","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.match.Mention","extends":"Autolinker.match.Match","private":null,"icon":"icon-class"},{"name":"Autolinker.match.Phone","extends":"Autolinker.match.Match","private":null,"icon":"icon-class"},{"name":"Autolinker.match.Url","extends":"Autolinker.match.Match","private":null,"icon":"icon-class"},{"name":"Autolinker.htmlParser.CommentNode","extends":"Autolinker.htmlParser.HtmlNode","private":null,"icon":"icon-class"},{"name":"Autolinker.htmlParser.ElementNode","extends":"Autolinker.htmlParser.HtmlNode","private":null,"icon":"icon-class"},{"name":"Autolinker.htmlParser.EntityNode","extends":"Autolinker.htmlParser.HtmlNode","private":null,"icon":"icon-class"},{"name":"Autolinker.htmlParser.HtmlNode","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.htmlParser.HtmlParser","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.htmlParser.TextNode","extends":"Autolinker.htmlParser.HtmlNode","private":null,"icon":"icon-class"},{"name":"Autolinker.matcher.Email","extends":"Autolinker.matcher.Matcher","private":null,"icon":"icon-class"},{"name":"Autolinker.matcher.Hashtag","extends":"Autolinker.matcher.Matcher","private":null,"icon":"icon-class"},{"name":"Autolinker.matcher.Matcher","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.matcher.Mention","extends":"Autolinker.matcher.Matcher","private":null,"icon":"icon-class"},{"name":"Autolinker.matcher.Phone","extends":"Autolinker.matcher.Matcher","private":null,"icon":"icon-class"},{"name":"Autolinker.matcher.Url","extends":"Autolinker.matcher.Matcher","private":null,"icon":"icon-class"},{"name":"Autolinker.matcher.UrlMatchValidator","extends":null,"private":true,"icon":"icon-singleton"},{"name":"Autolinker.truncate.TruncateEnd","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.truncate.TruncateMiddle","extends":null,"private":null,"icon":"icon-class"},{"name":"Autolinker.truncate.TruncateSmart","extends":null,"private":null,"icon":"icon-class"}],"guides":[],"videos":[],"examples":[{"title":"Examples","items":[{"name":"live-example","title":"Live Example","description":"Live example with input to test Autolinker functionality","url":"./docs/../../examples/live-example/index.html","icon":"./docs/live-example/live-example.gif","status":"new"}]}],"search":[{"name":"AnchorTagBuilder","fullName":"Autolinker.AnchorTagBuilder","icon":"icon-class","url":"#!/api/Autolinker.AnchorTagBuilder","meta":{"protected":true},"sort":1},{"name":"newWindow","fullName":"Autolinker.AnchorTagBuilder.newWindow","icon":"icon-cfg","url":"#!/api/Autolinker.AnchorTagBuilder-cfg-newWindow","meta":{},"sort":3},{"name":"truncate","fullName":"Autolinker.AnchorTagBuilder.truncate","icon":"icon-cfg","url":"#!/api/Autolinker.AnchorTagBuilder-cfg-truncate","meta":{},"sort":3},{"name":"className","fullName":"Autolinker.AnchorTagBuilder.className","icon":"icon-cfg","url":"#!/api/Autolinker.AnchorTagBuilder-cfg-className","meta":{},"sort":3},{"name":"build","fullName":"Autolinker.AnchorTagBuilder.build","icon":"icon-method","url":"#!/api/Autolinker.AnchorTagBuilder-method-build","meta":{},"sort":3},{"name":"createAttrs","fullName":"Autolinker.AnchorTagBuilder.createAttrs","icon":"icon-method","url":"#!/api/Autolinker.AnchorTagBuilder-method-createAttrs","meta":{"protected":true},"sort":3},{"name":"createCssClass","fullName":"Autolinker.AnchorTagBuilder.createCssClass","icon":"icon-method","url":"#!/api/Autolinker.AnchorTagBuilder-method-createCssClass","meta":{"private":true},"sort":3},{"name":"processAnchorText","fullName":"Autolinker.AnchorTagBuilder.processAnchorText","icon":"icon-method","url":"#!/api/Autolinker.AnchorTagBuilder-method-processAnchorText","meta":{"private":true},"sort":3},{"name":"doTruncate","fullName":"Autolinker.AnchorTagBuilder.doTruncate","icon":"icon-method","url":"#!/api/Autolinker.AnchorTagBuilder-method-doTruncate","meta":{"private":true},"sort":3},{"name":"Autolinker","fullName":"Autolinker","icon":"icon-class","url":"#!/api/Autolinker","meta":{},"sort":1},{"name":"link","fullName":"Autolinker.link","icon":"icon-method","url":"#!/api/Autolinker-static-method-link","meta":{"static":true},"sort":3},{"name":"parse","fullName":"Autolinker.parse","icon":"icon-method","url":"#!/api/Autolinker-static-method-parse","meta":{"static":true},"sort":3},{"name":"version","fullName":"Autolinker.version","icon":"icon-property","url":"#!/api/Autolinker-static-property-version","meta":{"static":true},"sort":3},{"name":"urls","fullName":"Autolinker.urls","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-urls","meta":{},"sort":3},{"name":"email","fullName":"Autolinker.email","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-email","meta":{},"sort":3},{"name":"phone","fullName":"Autolinker.phone","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-phone","meta":{},"sort":3},{"name":"hashtag","fullName":"Autolinker.hashtag","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-hashtag","meta":{},"sort":3},{"name":"mention","fullName":"Autolinker.mention","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-mention","meta":{},"sort":3},{"name":"newWindow","fullName":"Autolinker.newWindow","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-newWindow","meta":{},"sort":3},{"name":"stripPrefix","fullName":"Autolinker.stripPrefix","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-stripPrefix","meta":{},"sort":3},{"name":"stripTrailingSlash","fullName":"Autolinker.stripTrailingSlash","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-stripTrailingSlash","meta":{},"sort":3},{"name":"truncate","fullName":"Autolinker.truncate","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-truncate","meta":{},"sort":3},{"name":"className","fullName":"Autolinker.className","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-className","meta":{},"sort":3},{"name":"replaceFn","fullName":"Autolinker.replaceFn","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-replaceFn","meta":{},"sort":3},{"name":"context","fullName":"Autolinker.context","icon":"icon-cfg","url":"#!/api/Autolinker-cfg-context","meta":{},"sort":3},{"name":"version","fullName":"Autolinker.version","icon":"icon-property","url":"#!/api/Autolinker-property-version","meta":{},"sort":3},{"name":"htmlParser","fullName":"Autolinker.htmlParser","icon":"icon-property","url":"#!/api/Autolinker-property-htmlParser","meta":{"private":true},"sort":3},{"name":"matchers","fullName":"Autolinker.matchers","icon":"icon-property","url":"#!/api/Autolinker-property-matchers","meta":{"private":true},"sort":3},{"name":"tagBuilder","fullName":"Autolinker.tagBuilder","icon":"icon-property","url":"#!/api/Autolinker-property-tagBuilder","meta":{"private":true},"sort":3},{"name":"normalizeUrlsCfg","fullName":"Autolinker.normalizeUrlsCfg","icon":"icon-method","url":"#!/api/Autolinker-method-normalizeUrlsCfg","meta":{"private":true},"sort":3},{"name":"normalizeStripPrefixCfg","fullName":"Autolinker.normalizeStripPrefixCfg","icon":"icon-method","url":"#!/api/Autolinker-method-normalizeStripPrefixCfg","meta":{"private":true},"sort":3},{"name":"normalizeTruncateCfg","fullName":"Autolinker.normalizeTruncateCfg","icon":"icon-method","url":"#!/api/Autolinker-method-normalizeTruncateCfg","meta":{"private":true},"sort":3},{"name":"parse","fullName":"Autolinker.parse","icon":"icon-method","url":"#!/api/Autolinker-method-parse","meta":{},"sort":3},{"name":"compactMatches","fullName":"Autolinker.compactMatches","icon":"icon-method","url":"#!/api/Autolinker-method-compactMatches","meta":{"private":true},"sort":3},{"name":"removeUnwantedMatches","fullName":"Autolinker.removeUnwantedMatches","icon":"icon-method","url":"#!/api/Autolinker-method-removeUnwantedMatches","meta":{"private":true},"sort":3},{"name":"parseText","fullName":"Autolinker.parseText","icon":"icon-method","url":"#!/api/Autolinker-method-parseText","meta":{"private":true},"sort":3},{"name":"link","fullName":"Autolinker.link","icon":"icon-method","url":"#!/api/Autolinker-method-link","meta":{},"sort":3},{"name":"createMatchReturnVal","fullName":"Autolinker.createMatchReturnVal","icon":"icon-method","url":"#!/api/Autolinker-method-createMatchReturnVal","meta":{"private":true},"sort":3},{"name":"getHtmlParser","fullName":"Autolinker.getHtmlParser","icon":"icon-method","url":"#!/api/Autolinker-method-getHtmlParser","meta":{"protected":true},"sort":3},{"name":"getMatchers","fullName":"Autolinker.getMatchers","icon":"icon-method","url":"#!/api/Autolinker-method-getMatchers","meta":{"protected":true},"sort":3},{"name":"getTagBuilder","fullName":"Autolinker.getTagBuilder","icon":"icon-method","url":"#!/api/Autolinker-method-getTagBuilder","meta":{},"sort":3},{"name":"HtmlTag","fullName":"Autolinker.HtmlTag","icon":"icon-class","url":"#!/api/Autolinker.HtmlTag","meta":{},"sort":1},{"name":"tagName","fullName":"Autolinker.HtmlTag.tagName","icon":"icon-cfg","url":"#!/api/Autolinker.HtmlTag-cfg-tagName","meta":{},"sort":3},{"name":"attrs","fullName":"Autolinker.HtmlTag.attrs","icon":"icon-cfg","url":"#!/api/Autolinker.HtmlTag-cfg-attrs","meta":{},"sort":3},{"name":"innerHtml","fullName":"Autolinker.HtmlTag.innerHtml","icon":"icon-cfg","url":"#!/api/Autolinker.HtmlTag-cfg-innerHtml","meta":{},"sort":3},{"name":"innerHTML","fullName":"Autolinker.HtmlTag.innerHTML","icon":"icon-cfg","url":"#!/api/Autolinker.HtmlTag-cfg-innerHTML","meta":{},"sort":3},{"name":"whitespaceRegex","fullName":"Autolinker.HtmlTag.whitespaceRegex","icon":"icon-property","url":"#!/api/Autolinker.HtmlTag-property-whitespaceRegex","meta":{"protected":true},"sort":3},{"name":"setTagName","fullName":"Autolinker.HtmlTag.setTagName","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-setTagName","meta":{"chainable":true},"sort":3},{"name":"getTagName","fullName":"Autolinker.HtmlTag.getTagName","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-getTagName","meta":{},"sort":3},{"name":"setAttr","fullName":"Autolinker.HtmlTag.setAttr","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-setAttr","meta":{"chainable":true},"sort":3},{"name":"getAttr","fullName":"Autolinker.HtmlTag.getAttr","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-getAttr","meta":{},"sort":3},{"name":"setAttrs","fullName":"Autolinker.HtmlTag.setAttrs","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-setAttrs","meta":{"chainable":true},"sort":3},{"name":"getAttrs","fullName":"Autolinker.HtmlTag.getAttrs","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-getAttrs","meta":{},"sort":3},{"name":"setClass","fullName":"Autolinker.HtmlTag.setClass","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-setClass","meta":{},"sort":3},{"name":"addClass","fullName":"Autolinker.HtmlTag.addClass","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-addClass","meta":{"chainable":true},"sort":3},{"name":"removeClass","fullName":"Autolinker.HtmlTag.removeClass","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-removeClass","meta":{"chainable":true},"sort":3},{"name":"getClass","fullName":"Autolinker.HtmlTag.getClass","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-getClass","meta":{},"sort":3},{"name":"hasClass","fullName":"Autolinker.HtmlTag.hasClass","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-hasClass","meta":{},"sort":3},{"name":"setInnerHtml","fullName":"Autolinker.HtmlTag.setInnerHtml","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-setInnerHtml","meta":{"chainable":true},"sort":3},{"name":"getInnerHtml","fullName":"Autolinker.HtmlTag.getInnerHtml","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-getInnerHtml","meta":{},"sort":3},{"name":"toAnchorString","fullName":"Autolinker.HtmlTag.toAnchorString","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-toAnchorString","meta":{},"sort":3},{"name":"buildAttrsStr","fullName":"Autolinker.HtmlTag.buildAttrsStr","icon":"icon-method","url":"#!/api/Autolinker.HtmlTag-method-buildAttrsStr","meta":{"protected":true},"sort":3},{"name":"RegexLib","fullName":"Autolinker.RegexLib","icon":"icon-singleton","url":"#!/api/Autolinker.RegexLib","meta":{},"sort":1},{"name":"alphaCharsStr","fullName":"Autolinker.RegexLib.alphaCharsStr","icon":"icon-property","url":"#!/api/Autolinker.RegexLib-property-alphaCharsStr","meta":{"private":true},"sort":3},{"name":"decimalNumbersStr","fullName":"Autolinker.RegexLib.decimalNumbersStr","icon":"icon-property","url":"#!/api/Autolinker.RegexLib-property-decimalNumbersStr","meta":{"private":true},"sort":3},{"name":"alphaNumericCharsStr","fullName":"Autolinker.RegexLib.alphaNumericCharsStr","icon":"icon-property","url":"#!/api/Autolinker.RegexLib-property-alphaNumericCharsStr","meta":{},"sort":3},{"name":"alphaCharsStr","fullName":"Autolinker.RegexLib.alphaCharsStr","icon":"icon-property","url":"#!/api/Autolinker.RegexLib-property-alphaCharsStr","meta":{},"sort":3},{"name":"domainNameRegex","fullName":"Autolinker.RegexLib.domainNameRegex","icon":"icon-property","url":"#!/api/Autolinker.RegexLib-property-domainNameRegex","meta":{},"sort":3},{"name":"Util","fullName":"Autolinker.Util","icon":"icon-singleton","url":"#!/api/Autolinker.Util","meta":{},"sort":1},{"name":"abstractMethod","fullName":"Autolinker.Util.abstractMethod","icon":"icon-property","url":"#!/api/Autolinker.Util-property-abstractMethod","meta":{},"sort":3},{"name":"trimRegex","fullName":"Autolinker.Util.trimRegex","icon":"icon-property","url":"#!/api/Autolinker.Util-property-trimRegex","meta":{"private":true},"sort":3},{"name":"assign","fullName":"Autolinker.Util.assign","icon":"icon-method","url":"#!/api/Autolinker.Util-method-assign","meta":{},"sort":3},{"name":"defaults","fullName":"Autolinker.Util.defaults","icon":"icon-method","url":"#!/api/Autolinker.Util-method-defaults","meta":{},"sort":3},{"name":"extend","fullName":"Autolinker.Util.extend","icon":"icon-method","url":"#!/api/Autolinker.Util-method-extend","meta":{},"sort":3},{"name":"ellipsis","fullName":"Autolinker.Util.ellipsis","icon":"icon-method","url":"#!/api/Autolinker.Util-method-ellipsis","meta":{},"sort":3},{"name":"indexOf","fullName":"Autolinker.Util.indexOf","icon":"icon-method","url":"#!/api/Autolinker.Util-method-indexOf","meta":{},"sort":3},{"name":"remove","fullName":"Autolinker.Util.remove","icon":"icon-method","url":"#!/api/Autolinker.Util-method-remove","meta":{},"sort":3},{"name":"splitAndCapture","fullName":"Autolinker.Util.splitAndCapture","icon":"icon-method","url":"#!/api/Autolinker.Util-method-splitAndCapture","meta":{},"sort":3},{"name":"trim","fullName":"Autolinker.Util.trim","icon":"icon-method","url":"#!/api/Autolinker.Util-method-trim","meta":{},"sort":3},{"name":"Email","fullName":"Autolinker.match.Email","icon":"icon-class","url":"#!/api/Autolinker.match.Email","meta":{},"sort":1},{"name":"email","fullName":"Autolinker.match.Email.email","icon":"icon-cfg","url":"#!/api/Autolinker.match.Email-cfg-email","meta":{"required":true},"sort":3},{"name":"getType","fullName":"Autolinker.match.Email.getType","icon":"icon-method","url":"#!/api/Autolinker.match.Email-method-getType","meta":{},"sort":3},{"name":"getEmail","fullName":"Autolinker.match.Email.getEmail","icon":"icon-method","url":"#!/api/Autolinker.match.Email-method-getEmail","meta":{},"sort":3},{"name":"getAnchorHref","fullName":"Autolinker.match.Email.getAnchorHref","icon":"icon-method","url":"#!/api/Autolinker.match.Email-method-getAnchorHref","meta":{},"sort":3},{"name":"getAnchorText","fullName":"Autolinker.match.Email.getAnchorText","icon":"icon-method","url":"#!/api/Autolinker.match.Email-method-getAnchorText","meta":{},"sort":3},{"name":"Hashtag","fullName":"Autolinker.match.Hashtag","icon":"icon-class","url":"#!/api/Autolinker.match.Hashtag","meta":{},"sort":1},{"name":"serviceName","fullName":"Autolinker.match.Hashtag.serviceName","icon":"icon-cfg","url":"#!/api/Autolinker.match.Hashtag-cfg-serviceName","meta":{},"sort":3},{"name":"hashtag","fullName":"Autolinker.match.Hashtag.hashtag","icon":"icon-cfg","url":"#!/api/Autolinker.match.Hashtag-cfg-hashtag","meta":{"required":true},"sort":3},{"name":"getType","fullName":"Autolinker.match.Hashtag.getType","icon":"icon-method","url":"#!/api/Autolinker.match.Hashtag-method-getType","meta":{},"sort":3},{"name":"getServiceName","fullName":"Autolinker.match.Hashtag.getServiceName","icon":"icon-method","url":"#!/api/Autolinker.match.Hashtag-method-getServiceName","meta":{},"sort":3},{"name":"getHashtag","fullName":"Autolinker.match.Hashtag.getHashtag","icon":"icon-method","url":"#!/api/Autolinker.match.Hashtag-method-getHashtag","meta":{},"sort":3},{"name":"getAnchorHref","fullName":"Autolinker.match.Hashtag.getAnchorHref","icon":"icon-method","url":"#!/api/Autolinker.match.Hashtag-method-getAnchorHref","meta":{},"sort":3},{"name":"getAnchorText","fullName":"Autolinker.match.Hashtag.getAnchorText","icon":"icon-method","url":"#!/api/Autolinker.match.Hashtag-method-getAnchorText","meta":{},"sort":3},{"name":"Match","fullName":"Autolinker.match.Match","icon":"icon-class","url":"#!/api/Autolinker.match.Match","meta":{"abstract":true},"sort":1},{"name":"tagBuilder","fullName":"Autolinker.match.Match.tagBuilder","icon":"icon-cfg","url":"#!/api/Autolinker.match.Match-cfg-tagBuilder","meta":{"required":true},"sort":3},{"name":"matchedText","fullName":"Autolinker.match.Match.matchedText","icon":"icon-cfg","url":"#!/api/Autolinker.match.Match-cfg-matchedText","meta":{"required":true},"sort":3},{"name":"offset","fullName":"Autolinker.match.Match.offset","icon":"icon-cfg","url":"#!/api/Autolinker.match.Match-cfg-offset","meta":{"required":true},"sort":3},{"name":"getType","fullName":"Autolinker.match.Match.getType","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-getType","meta":{"abstract":true},"sort":3},{"name":"getMatchedText","fullName":"Autolinker.match.Match.getMatchedText","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-getMatchedText","meta":{},"sort":3},{"name":"setOffset","fullName":"Autolinker.match.Match.setOffset","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-setOffset","meta":{},"sort":3},{"name":"getOffset","fullName":"Autolinker.match.Match.getOffset","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-getOffset","meta":{},"sort":3},{"name":"getAnchorHref","fullName":"Autolinker.match.Match.getAnchorHref","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-getAnchorHref","meta":{"abstract":true},"sort":3},{"name":"getAnchorText","fullName":"Autolinker.match.Match.getAnchorText","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-getAnchorText","meta":{"abstract":true},"sort":3},{"name":"getCssClassSuffixes","fullName":"Autolinker.match.Match.getCssClassSuffixes","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-getCssClassSuffixes","meta":{},"sort":3},{"name":"buildTag","fullName":"Autolinker.match.Match.buildTag","icon":"icon-method","url":"#!/api/Autolinker.match.Match-method-buildTag","meta":{},"sort":3},{"name":"Mention","fullName":"Autolinker.match.Mention","icon":"icon-class","url":"#!/api/Autolinker.match.Mention","meta":{},"sort":1},{"name":"serviceName","fullName":"Autolinker.match.Mention.serviceName","icon":"icon-cfg","url":"#!/api/Autolinker.match.Mention-cfg-serviceName","meta":{},"sort":3},{"name":"mention","fullName":"Autolinker.match.Mention.mention","icon":"icon-cfg","url":"#!/api/Autolinker.match.Mention-cfg-mention","meta":{"required":true},"sort":3},{"name":"getType","fullName":"Autolinker.match.Mention.getType","icon":"icon-method","url":"#!/api/Autolinker.match.Mention-method-getType","meta":{},"sort":3},{"name":"getMention","fullName":"Autolinker.match.Mention.getMention","icon":"icon-method","url":"#!/api/Autolinker.match.Mention-method-getMention","meta":{},"sort":3},{"name":"getServiceName","fullName":"Autolinker.match.Mention.getServiceName","icon":"icon-method","url":"#!/api/Autolinker.match.Mention-method-getServiceName","meta":{},"sort":3},{"name":"getAnchorHref","fullName":"Autolinker.match.Mention.getAnchorHref","icon":"icon-method","url":"#!/api/Autolinker.match.Mention-method-getAnchorHref","meta":{},"sort":3},{"name":"getAnchorText","fullName":"Autolinker.match.Mention.getAnchorText","icon":"icon-method","url":"#!/api/Autolinker.match.Mention-method-getAnchorText","meta":{},"sort":3},{"name":"getCssClassSuffixes","fullName":"Autolinker.match.Mention.getCssClassSuffixes","icon":"icon-method","url":"#!/api/Autolinker.match.Mention-method-getCssClassSuffixes","meta":{},"sort":3},{"name":"Phone","fullName":"Autolinker.match.Phone","icon":"icon-class","url":"#!/api/Autolinker.match.Phone","meta":{},"sort":1},{"name":"number","fullName":"Autolinker.match.Phone.number","icon":"icon-property","url":"#!/api/Autolinker.match.Phone-property-number","meta":{"protected":true},"sort":3},{"name":"plusSign","fullName":"Autolinker.match.Phone.plusSign","icon":"icon-property","url":"#!/api/Autolinker.match.Phone-property-plusSign","meta":{"protected":true},"sort":3},{"name":"getType","fullName":"Autolinker.match.Phone.getType","icon":"icon-method","url":"#!/api/Autolinker.match.Phone-method-getType","meta":{},"sort":3},{"name":"getNumber","fullName":"Autolinker.match.Phone.getNumber","icon":"icon-method","url":"#!/api/Autolinker.match.Phone-method-getNumber","meta":{},"sort":3},{"name":"getAnchorHref","fullName":"Autolinker.match.Phone.getAnchorHref","icon":"icon-method","url":"#!/api/Autolinker.match.Phone-method-getAnchorHref","meta":{},"sort":3},{"name":"getAnchorText","fullName":"Autolinker.match.Phone.getAnchorText","icon":"icon-method","url":"#!/api/Autolinker.match.Phone-method-getAnchorText","meta":{},"sort":3},{"name":"Url","fullName":"Autolinker.match.Url","icon":"icon-class","url":"#!/api/Autolinker.match.Url","meta":{},"sort":1},{"name":"url","fullName":"Autolinker.match.Url.url","icon":"icon-cfg","url":"#!/api/Autolinker.match.Url-cfg-url","meta":{"required":true},"sort":3},{"name":"urlMatchType","fullName":"Autolinker.match.Url.urlMatchType","icon":"icon-cfg","url":"#!/api/Autolinker.match.Url-cfg-urlMatchType","meta":{"required":true},"sort":3},{"name":"protocolUrlMatch","fullName":"Autolinker.match.Url.protocolUrlMatch","icon":"icon-cfg","url":"#!/api/Autolinker.match.Url-cfg-protocolUrlMatch","meta":{"required":true},"sort":3},{"name":"protocolRelativeMatch","fullName":"Autolinker.match.Url.protocolRelativeMatch","icon":"icon-cfg","url":"#!/api/Autolinker.match.Url-cfg-protocolRelativeMatch","meta":{"required":true},"sort":3},{"name":"stripPrefix","fullName":"Autolinker.match.Url.stripPrefix","icon":"icon-cfg","url":"#!/api/Autolinker.match.Url-cfg-stripPrefix","meta":{"required":true},"sort":3},{"name":"stripTrailingSlash","fullName":"Autolinker.match.Url.stripTrailingSlash","icon":"icon-cfg","url":"#!/api/Autolinker.match.Url-cfg-stripTrailingSlash","meta":{"required":true},"sort":3},{"name":"schemePrefixRegex","fullName":"Autolinker.match.Url.schemePrefixRegex","icon":"icon-property","url":"#!/api/Autolinker.match.Url-property-schemePrefixRegex","meta":{"private":true},"sort":3},{"name":"wwwPrefixRegex","fullName":"Autolinker.match.Url.wwwPrefixRegex","icon":"icon-property","url":"#!/api/Autolinker.match.Url-property-wwwPrefixRegex","meta":{"private":true},"sort":3},{"name":"protocolRelativeRegex","fullName":"Autolinker.match.Url.protocolRelativeRegex","icon":"icon-property","url":"#!/api/Autolinker.match.Url-property-protocolRelativeRegex","meta":{"private":true},"sort":3},{"name":"protocolPrepended","fullName":"Autolinker.match.Url.protocolPrepended","icon":"icon-property","url":"#!/api/Autolinker.match.Url-property-protocolPrepended","meta":{"private":true},"sort":3},{"name":"getType","fullName":"Autolinker.match.Url.getType","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-getType","meta":{},"sort":3},{"name":"getUrlMatchType","fullName":"Autolinker.match.Url.getUrlMatchType","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-getUrlMatchType","meta":{},"sort":3},{"name":"getUrl","fullName":"Autolinker.match.Url.getUrl","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-getUrl","meta":{},"sort":3},{"name":"getAnchorHref","fullName":"Autolinker.match.Url.getAnchorHref","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-getAnchorHref","meta":{},"sort":3},{"name":"getAnchorText","fullName":"Autolinker.match.Url.getAnchorText","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-getAnchorText","meta":{},"sort":3},{"name":"stripSchemePrefix","fullName":"Autolinker.match.Url.stripSchemePrefix","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-stripSchemePrefix","meta":{"private":true},"sort":3},{"name":"stripWwwPrefix","fullName":"Autolinker.match.Url.stripWwwPrefix","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-stripWwwPrefix","meta":{"private":true},"sort":3},{"name":"stripProtocolRelativePrefix","fullName":"Autolinker.match.Url.stripProtocolRelativePrefix","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-stripProtocolRelativePrefix","meta":{"private":true},"sort":3},{"name":"removeTrailingSlash","fullName":"Autolinker.match.Url.removeTrailingSlash","icon":"icon-method","url":"#!/api/Autolinker.match.Url-method-removeTrailingSlash","meta":{"private":true},"sort":3},{"name":"CommentNode","fullName":"Autolinker.htmlParser.CommentNode","icon":"icon-class","url":"#!/api/Autolinker.htmlParser.CommentNode","meta":{},"sort":1},{"name":"comment","fullName":"Autolinker.htmlParser.CommentNode.comment","icon":"icon-cfg","url":"#!/api/Autolinker.htmlParser.CommentNode-cfg-comment","meta":{"required":true},"sort":3},{"name":"getType","fullName":"Autolinker.htmlParser.CommentNode.getType","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.CommentNode-method-getType","meta":{},"sort":3},{"name":"getComment","fullName":"Autolinker.htmlParser.CommentNode.getComment","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.CommentNode-method-getComment","meta":{},"sort":3},{"name":"ElementNode","fullName":"Autolinker.htmlParser.ElementNode","icon":"icon-class","url":"#!/api/Autolinker.htmlParser.ElementNode","meta":{},"sort":1},{"name":"tagName","fullName":"Autolinker.htmlParser.ElementNode.tagName","icon":"icon-cfg","url":"#!/api/Autolinker.htmlParser.ElementNode-cfg-tagName","meta":{"required":true},"sort":3},{"name":"closing","fullName":"Autolinker.htmlParser.ElementNode.closing","icon":"icon-cfg","url":"#!/api/Autolinker.htmlParser.ElementNode-cfg-closing","meta":{"required":true},"sort":3},{"name":"getType","fullName":"Autolinker.htmlParser.ElementNode.getType","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.ElementNode-method-getType","meta":{},"sort":3},{"name":"getTagName","fullName":"Autolinker.htmlParser.ElementNode.getTagName","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.ElementNode-method-getTagName","meta":{},"sort":3},{"name":"isClosing","fullName":"Autolinker.htmlParser.ElementNode.isClosing","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.ElementNode-method-isClosing","meta":{},"sort":3},{"name":"EntityNode","fullName":"Autolinker.htmlParser.EntityNode","icon":"icon-class","url":"#!/api/Autolinker.htmlParser.EntityNode","meta":{},"sort":1},{"name":"getType","fullName":"Autolinker.htmlParser.EntityNode.getType","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.EntityNode-method-getType","meta":{},"sort":3},{"name":"HtmlNode","fullName":"Autolinker.htmlParser.HtmlNode","icon":"icon-class","url":"#!/api/Autolinker.htmlParser.HtmlNode","meta":{"abstract":true},"sort":1},{"name":"offset","fullName":"Autolinker.htmlParser.HtmlNode.offset","icon":"icon-cfg","url":"#!/api/Autolinker.htmlParser.HtmlNode-cfg-offset","meta":{"required":true},"sort":3},{"name":"text","fullName":"Autolinker.htmlParser.HtmlNode.text","icon":"icon-cfg","url":"#!/api/Autolinker.htmlParser.HtmlNode-cfg-text","meta":{"required":true},"sort":3},{"name":"getType","fullName":"Autolinker.htmlParser.HtmlNode.getType","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlNode-method-getType","meta":{"abstract":true},"sort":3},{"name":"getOffset","fullName":"Autolinker.htmlParser.HtmlNode.getOffset","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlNode-method-getOffset","meta":{},"sort":3},{"name":"getText","fullName":"Autolinker.htmlParser.HtmlNode.getText","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlNode-method-getText","meta":{},"sort":3},{"name":"HtmlParser","fullName":"Autolinker.htmlParser.HtmlParser","icon":"icon-class","url":"#!/api/Autolinker.htmlParser.HtmlParser","meta":{},"sort":1},{"name":"htmlRegex","fullName":"Autolinker.htmlParser.HtmlParser.htmlRegex","icon":"icon-property","url":"#!/api/Autolinker.htmlParser.HtmlParser-property-htmlRegex","meta":{"private":true},"sort":3},{"name":"htmlCharacterEntitiesRegex","fullName":"Autolinker.htmlParser.HtmlParser.htmlCharacterEntitiesRegex","icon":"icon-property","url":"#!/api/Autolinker.htmlParser.HtmlParser-property-htmlCharacterEntitiesRegex","meta":{"private":true},"sort":3},{"name":"parse","fullName":"Autolinker.htmlParser.HtmlParser.parse","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlParser-method-parse","meta":{},"sort":3},{"name":"parseTextAndEntityNodes","fullName":"Autolinker.htmlParser.HtmlParser.parseTextAndEntityNodes","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlParser-method-parseTextAndEntityNodes","meta":{"private":true},"sort":3},{"name":"createCommentNode","fullName":"Autolinker.htmlParser.HtmlParser.createCommentNode","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlParser-method-createCommentNode","meta":{"private":true},"sort":3},{"name":"createElementNode","fullName":"Autolinker.htmlParser.HtmlParser.createElementNode","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlParser-method-createElementNode","meta":{"private":true},"sort":3},{"name":"createEntityNode","fullName":"Autolinker.htmlParser.HtmlParser.createEntityNode","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlParser-method-createEntityNode","meta":{"private":true},"sort":3},{"name":"createTextNode","fullName":"Autolinker.htmlParser.HtmlParser.createTextNode","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.HtmlParser-method-createTextNode","meta":{"private":true},"sort":3},{"name":"TextNode","fullName":"Autolinker.htmlParser.TextNode","icon":"icon-class","url":"#!/api/Autolinker.htmlParser.TextNode","meta":{},"sort":1},{"name":"getType","fullName":"Autolinker.htmlParser.TextNode.getType","icon":"icon-method","url":"#!/api/Autolinker.htmlParser.TextNode-method-getType","meta":{},"sort":3},{"name":"Email","fullName":"Autolinker.matcher.Email","icon":"icon-class","url":"#!/api/Autolinker.matcher.Email","meta":{},"sort":1},{"name":"matcherRegex","fullName":"Autolinker.matcher.Email.matcherRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.Email-property-matcherRegex","meta":{"private":true},"sort":3},{"name":"parseMatches","fullName":"Autolinker.matcher.Email.parseMatches","icon":"icon-method","url":"#!/api/Autolinker.matcher.Email-method-parseMatches","meta":{},"sort":3},{"name":"Hashtag","fullName":"Autolinker.matcher.Hashtag","icon":"icon-class","url":"#!/api/Autolinker.matcher.Hashtag","meta":{},"sort":1},{"name":"serviceName","fullName":"Autolinker.matcher.Hashtag.serviceName","icon":"icon-cfg","url":"#!/api/Autolinker.matcher.Hashtag-cfg-serviceName","meta":{},"sort":3},{"name":"matcherRegex","fullName":"Autolinker.matcher.Hashtag.matcherRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.Hashtag-property-matcherRegex","meta":{"private":true},"sort":3},{"name":"nonWordCharRegex","fullName":"Autolinker.matcher.Hashtag.nonWordCharRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.Hashtag-property-nonWordCharRegex","meta":{"private":true},"sort":3},{"name":"parseMatches","fullName":"Autolinker.matcher.Hashtag.parseMatches","icon":"icon-method","url":"#!/api/Autolinker.matcher.Hashtag-method-parseMatches","meta":{},"sort":3},{"name":"Matcher","fullName":"Autolinker.matcher.Matcher","icon":"icon-class","url":"#!/api/Autolinker.matcher.Matcher","meta":{"abstract":true},"sort":1},{"name":"tagBuilder","fullName":"Autolinker.matcher.Matcher.tagBuilder","icon":"icon-cfg","url":"#!/api/Autolinker.matcher.Matcher-cfg-tagBuilder","meta":{"required":true},"sort":3},{"name":"parseMatches","fullName":"Autolinker.matcher.Matcher.parseMatches","icon":"icon-method","url":"#!/api/Autolinker.matcher.Matcher-method-parseMatches","meta":{"abstract":true},"sort":3},{"name":"Mention","fullName":"Autolinker.matcher.Mention","icon":"icon-class","url":"#!/api/Autolinker.matcher.Mention","meta":{},"sort":1},{"name":"matcherRegexes","fullName":"Autolinker.matcher.Mention.matcherRegexes","icon":"icon-property","url":"#!/api/Autolinker.matcher.Mention-property-matcherRegexes","meta":{"private":true},"sort":3},{"name":"nonWordCharRegex","fullName":"Autolinker.matcher.Mention.nonWordCharRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.Mention-property-nonWordCharRegex","meta":{"private":true},"sort":3},{"name":"parseMatches","fullName":"Autolinker.matcher.Mention.parseMatches","icon":"icon-method","url":"#!/api/Autolinker.matcher.Mention-method-parseMatches","meta":{},"sort":3},{"name":"Phone","fullName":"Autolinker.matcher.Phone","icon":"icon-class","url":"#!/api/Autolinker.matcher.Phone","meta":{},"sort":1},{"name":"matcherRegex","fullName":"Autolinker.matcher.Phone.matcherRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.Phone-property-matcherRegex","meta":{"private":true},"sort":3},{"name":"parseMatches","fullName":"Autolinker.matcher.Phone.parseMatches","icon":"icon-method","url":"#!/api/Autolinker.matcher.Phone-method-parseMatches","meta":{},"sort":3},{"name":"Url","fullName":"Autolinker.matcher.Url","icon":"icon-class","url":"#!/api/Autolinker.matcher.Url","meta":{},"sort":1},{"name":"stripPrefix","fullName":"Autolinker.matcher.Url.stripPrefix","icon":"icon-cfg","url":"#!/api/Autolinker.matcher.Url-cfg-stripPrefix","meta":{"required":true},"sort":3},{"name":"stripTrailingSlash","fullName":"Autolinker.matcher.Url.stripTrailingSlash","icon":"icon-cfg","url":"#!/api/Autolinker.matcher.Url-cfg-stripTrailingSlash","meta":{"required":true},"sort":3},{"name":"matcherRegex","fullName":"Autolinker.matcher.Url.matcherRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.Url-property-matcherRegex","meta":{"private":true},"sort":3},{"name":"wordCharRegExp","fullName":"Autolinker.matcher.Url.wordCharRegExp","icon":"icon-property","url":"#!/api/Autolinker.matcher.Url-property-wordCharRegExp","meta":{"private":true},"sort":3},{"name":"openParensRe","fullName":"Autolinker.matcher.Url.openParensRe","icon":"icon-property","url":"#!/api/Autolinker.matcher.Url-property-openParensRe","meta":{"private":true},"sort":3},{"name":"closeParensRe","fullName":"Autolinker.matcher.Url.closeParensRe","icon":"icon-property","url":"#!/api/Autolinker.matcher.Url-property-closeParensRe","meta":{"private":true},"sort":3},{"name":"parseMatches","fullName":"Autolinker.matcher.Url.parseMatches","icon":"icon-method","url":"#!/api/Autolinker.matcher.Url-method-parseMatches","meta":{},"sort":3},{"name":"matchHasUnbalancedClosingParen","fullName":"Autolinker.matcher.Url.matchHasUnbalancedClosingParen","icon":"icon-method","url":"#!/api/Autolinker.matcher.Url-method-matchHasUnbalancedClosingParen","meta":{"private":true},"sort":3},{"name":"matchHasInvalidCharAfterTld","fullName":"Autolinker.matcher.Url.matchHasInvalidCharAfterTld","icon":"icon-method","url":"#!/api/Autolinker.matcher.Url-method-matchHasInvalidCharAfterTld","meta":{"private":true},"sort":3},{"name":"UrlMatchValidator","fullName":"Autolinker.matcher.UrlMatchValidator","icon":"icon-singleton","url":"#!/api/Autolinker.matcher.UrlMatchValidator","meta":{"private":true},"sort":1},{"name":"isValidIpAddress","fullName":"Autolinker.matcher.UrlMatchValidator.isValidIpAddress","icon":"icon-method","url":"#!/api/Autolinker.matcher.UrlMatchValidator-method-isValidIpAddress","meta":{"private":true},"sort":3},{"name":"containsMultipleDots","fullName":"Autolinker.matcher.UrlMatchValidator.containsMultipleDots","icon":"icon-method","url":"#!/api/Autolinker.matcher.UrlMatchValidator-method-containsMultipleDots","meta":{"private":true},"sort":3},{"name":"hasFullProtocolRegex","fullName":"Autolinker.matcher.UrlMatchValidator.hasFullProtocolRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.UrlMatchValidator-property-hasFullProtocolRegex","meta":{"private":true},"sort":3},{"name":"uriSchemeRegex","fullName":"Autolinker.matcher.UrlMatchValidator.uriSchemeRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.UrlMatchValidator-property-uriSchemeRegex","meta":{"private":true},"sort":3},{"name":"hasWordCharAfterProtocolRegex","fullName":"Autolinker.matcher.UrlMatchValidator.hasWordCharAfterProtocolRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.UrlMatchValidator-property-hasWordCharAfterProtocolRegex","meta":{"private":true},"sort":3},{"name":"ipRegex","fullName":"Autolinker.matcher.UrlMatchValidator.ipRegex","icon":"icon-property","url":"#!/api/Autolinker.matcher.UrlMatchValidator-property-ipRegex","meta":{"private":true},"sort":3},{"name":"isValid","fullName":"Autolinker.matcher.UrlMatchValidator.isValid","icon":"icon-method","url":"#!/api/Autolinker.matcher.UrlMatchValidator-method-isValid","meta":{},"sort":3},{"name":"isValidUriScheme","fullName":"Autolinker.matcher.UrlMatchValidator.isValidUriScheme","icon":"icon-method","url":"#!/api/Autolinker.matcher.UrlMatchValidator-method-isValidUriScheme","meta":{"private":true},"sort":3},{"name":"urlMatchDoesNotHaveProtocolOrDot","fullName":"Autolinker.matcher.UrlMatchValidator.urlMatchDoesNotHaveProtocolOrDot","icon":"icon-method","url":"#!/api/Autolinker.matcher.UrlMatchValidator-method-urlMatchDoesNotHaveProtocolOrDot","meta":{"private":true},"sort":3},{"name":"urlMatchDoesNotHaveAtLeastOneWordChar","fullName":"Autolinker.matcher.UrlMatchValidator.urlMatchDoesNotHaveAtLeastOneWordChar","icon":"icon-method","url":"#!/api/Autolinker.matcher.UrlMatchValidator-method-urlMatchDoesNotHaveAtLeastOneWordChar","meta":{"private":true},"sort":3},{"name":"TruncateEnd","fullName":"Autolinker.truncate.TruncateEnd","icon":"icon-class","url":"#!/api/Autolinker.truncate.TruncateEnd","meta":{},"sort":1},{"name":"TruncateMiddle","fullName":"Autolinker.truncate.TruncateMiddle","icon":"icon-class","url":"#!/api/Autolinker.truncate.TruncateMiddle","meta":{},"sort":1},{"name":"TruncateSmart","fullName":"Autolinker.truncate.TruncateSmart","icon":"icon-class","url":"#!/api/Autolinker.truncate.TruncateSmart","meta":{},"sort":1},{"name":"Live Example","fullName":"example: Live Example","icon":"icon-example","url":"#!/example/live-example","meta":{},"sort":4}],"guideSearch":{},"tests":false,"signatures":[{"long":"abstract","short":"ABS","tagname":"abstract"},{"long":"chainable","short":">","tagname":"chainable"},{"long":"deprecated","short":"DEP","tagname":"deprecated"},{"long":"experimental","short":"EXP","tagname":"experimental"},{"long":"★","short":"★","tagname":"new"},{"long":"preventable","short":"PREV","tagname":"preventable"},{"long":"private","short":"PRI","tagname":"private"},{"long":"protected","short":"PRO","tagname":"protected"},{"long":"readonly","short":"R O","tagname":"readonly"},{"long":"removed","short":"REM","tagname":"removed"},{"long":"required","short":"REQ","tagname":"required"},{"long":"static","short":"STA","tagname":"static"},{"long":"template","short":"TMP","tagname":"template"}],"memberTypes":[{"title":"Config options","toolbar_title":"Configs","position":1,"icon":"C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/cfg.png","subsections":[{"title":"Required config options","filter":{"required":true}},{"title":"Optional config options","filter":{"required":false},"default":true}],"name":"cfg"},{"title":"Properties","position":2,"icon":"C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/property.png","subsections":[{"title":"Instance properties","filter":{"static":false},"default":true},{"title":"Static properties","filter":{"static":true}}],"name":"property"},{"title":"Methods","position":3,"icon":"C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/method.png","subsections":[{"title":"Instance methods","filter":{"static":false},"default":true},{"title":"Static methods","filter":{"static":true}}],"name":"method"},{"title":"Events","position":4,"icon":"C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/event.png","name":"event"},{"title":"CSS Variables","toolbar_title":"CSS Vars","position":5,"icon":"C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_var.png","name":"css_var"},{"title":"CSS Mixins","position":6,"icon":"C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_mixin.png","name":"css_mixin"}],"localStorageDb":"docs","showPrintButton":false,"touchExamplesUi":false,"source":true,"commentsUrl":null,"commentsDomain":null,"message":""}}; diff --git a/docs/api/index.html b/docs/api/index.html index 0880383e..6f199f47 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -1,7 +1,7 @@ - Autolinker v1.4.3 API Docs + Autolinker v1.4.4 API Docs @@ -10,10 +10,10 @@ - + - + @@ -22,9 +22,9 @@ -
Autolinker v1.4.3 API Docs
+
Autolinker v1.4.4 API Docs
-
Autolinker v1.4.3 API Docs
+
Autolinker v1.4.4 API Docs