| Index: utils/apidoc/mdn/extract.dart
|
| diff --git a/utils/apidoc/mdn/extract.dart b/utils/apidoc/mdn/extract.dart
|
| index e722f847ff7580b42cbc2ae0547cb5bc0ac1c11d..4a37154995653f381fb1e6944f9d275896d21cdf 100644
|
| --- a/utils/apidoc/mdn/extract.dart
|
| +++ b/utils/apidoc/mdn/extract.dart
|
| @@ -1121,10 +1121,10 @@ void run() {
|
| }
|
|
|
| // Fix up links.
|
| - const SHORT_LINK = new RegExp(r'^[\w/]+$');
|
| - const INNER_LINK = new RegExp(r'[Ee]n/(?:[\w/]+/|)([\w#.]+)(?:\(\))?$');
|
| - const MEMBER_LINK = new RegExp(r'(\w+)[.#](\w+)');
|
| - const RELATIVE_LINK = new RegExp(r'^(?:../)*/?[Ee][Nn]/(.+)');
|
| + final SHORT_LINK = new RegExp(r'^[\w/]+$');
|
| + final INNER_LINK = new RegExp(r'[Ee]n/(?:[\w/]+/|)([\w#.]+)(?:\(\))?$');
|
| + final MEMBER_LINK = new RegExp(r'(\w+)[.#](\w+)');
|
| + final RELATIVE_LINK = new RegExp(r'^(?:../)*/?[Ee][Nn]/(.+)');
|
|
|
| // - Make relative links absolute.
|
| // - If we can, take links that point to other MDN pages and retarget them
|
|
|