Skip to content

Commit 7addc5f

Browse files
committed
v2.2.1
1 parent d2bbb80 commit 7addc5f

File tree

13 files changed

+30
-30
lines changed

13 files changed

+30
-30
lines changed

dist/Autolinker.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Autolinker.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Autolinker.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Autolinker.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Autolinker v2.2.0 API Docs</title>
4+
<title>Autolinker v2.2.1 API Docs</title>
55
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
66
<meta http-equiv="X-UA-Compatible" content="chrome=1">
77
<meta name="fragment" content="!">
@@ -22,9 +22,9 @@
2222
</head>
2323
<body id="ext-body">
2424

25-
<div id="loading"><span class="title">Autolinker v2.2.0 API Docs</span><span class="logo"></span></div>
25+
<div id="loading"><span class="title">Autolinker v2.2.1 API Docs</span><span class="logo"></span></div>
2626

27-
<div id="header-content">Autolinker v2.2.0 API Docs</div>
27+
<div id="header-content">Autolinker v2.2.1 API Docs</div>
2828

2929
<div id='categories-content' style='display:none'>
3030
<div class='section'>
@@ -88,7 +88,7 @@ <h3>Others...</h3>
8888

8989

9090

91-
<div id='footer-content' style='display: none'>Generated on Thu 27 Dec 2018 21:42:06 by <a href='https://github.com/senchalabs/jsduck'>JSDuck</a> 5.3.4.</div>
91+
<div id='footer-content' style='display: none'>Generated on Fri 28 Dec 2018 00:20:21 by <a href='https://github.com/senchalabs/jsduck'>JSDuck</a> 5.3.4.</div>
9292

9393

9494

docs/api/output/Autolinker.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/output/global.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/source/Autolinker.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@
846846
*
847847
* Ex: 0.25.1
848848
*/
849-
Autolinker.version = &#39;2.2.0&#39;;
849+
Autolinker.version = &#39;2.2.1&#39;;
850850
<span id='Autolinker-AnchorTagBuilder'> /**
851851
</span> * For backwards compatibility with Autolinker 1.x, the AnchorTagBuilder
852852
* class is provided as a static on the Autolinker class.

docs/api/source/hashtag-matcher.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
* @protected
6464
* @property {RegExp} matcherRegex
6565
*/
66-
_this.matcherRegex = new RegExp(&#39;#[_&#39; + regex_lib_1.alphaNumericAndMarksCharsStr + &#39;]{1,139}&#39;, &#39;g&#39;);
66+
_this.matcherRegex = new RegExp(&quot;#[_&quot; + regex_lib_1.alphaNumericAndMarksCharsStr + &quot;]{1,139}(?![_&quot; + regex_lib_1.alphaNumericAndMarksCharsStr + &quot;])&quot;, &#39;g&#39;); // lookahead used to make sure we don&#39;t match something above 139 characters
6767
<span id='Autolinker-matcher-Hashtag-property-nonWordCharRegex'> /**
6868
</span> * The regular expression to use to check the character before a username match to
6969
* make sure we didn&#39;t accidentally match an email address.

docs/api/source/mention-matcher.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@
6565
* @property {Object} matcherRegexes
6666
*/
6767
_this.matcherRegexes = {
68-
&#39;twitter&#39;: new RegExp(&#39;@[_&#39; + regex_lib_1.alphaNumericAndMarksCharsStr + &#39;]{1,20}&#39;, &#39;g&#39;),
69-
&#39;instagram&#39;: new RegExp(&#39;@[_.&#39; + regex_lib_1.alphaNumericAndMarksCharsStr + &#39;]{1,50}&#39;, &#39;g&#39;),
70-
&#39;soundcloud&#39;: new RegExp(&#39;@[_.&#39; + regex_lib_1.alphaNumericAndMarksCharsStr + &quot;\-&quot; + &#39;]{1,50}&#39;, &#39;g&#39;)
68+
&#39;twitter&#39;: new RegExp(&quot;@[_&quot; + regex_lib_1.alphaNumericAndMarksCharsStr + &quot;]{1,50}(?![_&quot; + regex_lib_1.alphaNumericAndMarksCharsStr + &quot;])&quot;, &#39;g&#39;),
69+
&#39;instagram&#39;: new RegExp(&quot;@[_.&quot; + regex_lib_1.alphaNumericAndMarksCharsStr + &quot;]{1,30}(?![_&quot; + regex_lib_1.alphaNumericAndMarksCharsStr + &quot;])&quot;, &#39;g&#39;),
70+
&#39;soundcloud&#39;: new RegExp(&quot;@[-_.&quot; + regex_lib_1.alphaNumericAndMarksCharsStr + &quot;]{1,50}(?![-_&quot; + regex_lib_1.alphaNumericAndMarksCharsStr + &quot;])&quot;, &#39;g&#39;) // lookahead used to make sure we don&#39;t match something above 50 characters
7171
};
7272
<span id='Autolinker-matcher-Mention-property-nonWordCharRegex'> /**
7373
</span> * The regular expression to use to check the character before a username match to

0 commit comments

Comments
 (0)