|
|
@ -329,8 +329,7 @@ class AutoFormatMultipleLinksRule extends InsertRule { |
|
|
|
// http://www.example.com/?action=birds&brass=apparatus |
|
|
|
// http://www.example.com/?action=birds&brass=apparatus |
|
|
|
// https://example.net/ |
|
|
|
// https://example.net/ |
|
|
|
// URL generator tool (https://www.randomlists.com/urls) is used. |
|
|
|
// URL generator tool (https://www.randomlists.com/urls) is used. |
|
|
|
static const _linkPattern = |
|
|
|
static const _linkPattern = r'^https?:\/\/[\w\-]+(\.[\w\-]+)*(:\d+)?(\/.*)?$'; |
|
|
|
r'^https?:\/\/[\w\-]+(\.[\w\-]+)*(:\d+)?(\/.*)?$'; |
|
|
|
|
|
|
|
static final linkRegExp = RegExp(_linkPattern, caseSensitive: false); |
|
|
|
static final linkRegExp = RegExp(_linkPattern, caseSensitive: false); |
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
@override |
|
|
|