Updated documentation for `inlineRegexp`

This commit is contained in:
Robin Ward 2013-11-25 11:35:10 -05:00
parent a8a51746a5
commit 549060867d
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ Discourse.Dialect = {
Discourse.Dialect.inlineRegexp({
matcher: /((?:https?:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.])(?:[^\s()<>]+|\([^\s()<>]+\))+(?:\([^\s()<>]+\)|[^`!()\[\]{};:'".,<>?«»“”‘’\s]))/gm,
spaceBoundary: true,
start: 'http',
emitter: function(matches) {
var url = matches[1];