You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -266,6 +266,25 @@ autolinker.link( "Go to www.google.com" );
266
266
267
267
```
268
268
269
+
## Retrieving the List of Matches
270
+
271
+
If you're just interested in retrieving the list of [Matches](http://greg-jacobs.com/Autolinker.js/api/#!/api/Autolinker.match.Match) without producing a transformed string, you can use the [parse()](http://greg-jacobs.com/Autolinker.js/api/#!/api/Autolinker-static-method-parse) method.
272
+
273
+
For example:
274
+
275
+
```
276
+
var matches = Autolinker.parse( "Hello google.com, I am asdf@asdf.com", {
0 commit comments