| Index: sdk/lib/_internal/dartdoc/lib/dartdoc.dart
|
| diff --git a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
|
| index fb116a165a13058fdeddb93d062690f32a16104a..a4714bb99b67046f225bd8c7b1dd6f43161288cd 100644
|
| --- a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
|
| +++ b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
|
| @@ -1527,7 +1527,7 @@ class Dartdoc {
|
| // TODO(rnystrom): Why don't we have a nice type in the platform for this?
|
| // TODO(rnystrom): This is a bit hackish. We consider any URL that lacks
|
| // a scheme to be relative.
|
| - return const RegExp(r'^\w+:').hasMatch(url);
|
| + return new RegExp(r'^\w+:').hasMatch(url);
|
| }
|
|
|
| /** Gets the URL to the documentation for [library]. */
|
|
|