mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-23 13:26:22 -04:00
Updated documentation for inlineRegexp
This commit is contained in:
parent
a8a51746a5
commit
549060867d
1 changed files with 1 additions and 0 deletions
|
@ -200,6 +200,7 @@ Discourse.Dialect = {
|
||||||
Discourse.Dialect.inlineRegexp({
|
Discourse.Dialect.inlineRegexp({
|
||||||
matcher: /((?:https?:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.])(?:[^\s()<>]+|\([^\s()<>]+\))+(?:\([^\s()<>]+\)|[^`!()\[\]{};:'".,<>?«»“”‘’\s]))/gm,
|
matcher: /((?:https?:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.])(?:[^\s()<>]+|\([^\s()<>]+\))+(?:\([^\s()<>]+\)|[^`!()\[\]{};:'".,<>?«»“”‘’\s]))/gm,
|
||||||
spaceBoundary: true,
|
spaceBoundary: true,
|
||||||
|
start: 'http',
|
||||||
|
|
||||||
emitter: function(matches) {
|
emitter: function(matches) {
|
||||||
var url = matches[1];
|
var url = matches[1];
|
||||||
|
|
Loading…
Reference in a new issue