simplify bbcode url regex
parent
aaae5aee52
commit
d83fcfd1f1
|
@ -36,7 +36,7 @@ class Formatter
|
||||||
description: '', example: '',
|
description: '', example: '',
|
||||||
require_between: true,
|
require_between: true,
|
||||||
allow_quick_param: true, allow_between_as_param: true,
|
allow_quick_param: true, allow_between_as_param: true,
|
||||||
quick_param_format: %r{^((((https?|ftps?|sftp|ircs?|telnets?|dat)://)|/).+)$},
|
quick_param_format: %r{^(\S+://\S+|/\S+)$},
|
||||||
quick_param_format_description: '',
|
quick_param_format_description: '',
|
||||||
param_tokens: [{token: :url}]
|
param_tokens: [{token: :url}]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue