Index: utils/apidoc/html_diff.dart |
diff --git a/utils/apidoc/html_diff.dart b/utils/apidoc/html_diff.dart |
index 130666d2b9ae9e76aadf69c60c7fcd2856bc5c62..5d209bba73bba4a0553f66a5aa88a742c746d61d 100644 |
--- a/utils/apidoc/html_diff.dart |
+++ b/utils/apidoc/html_diff.dart |
@@ -228,7 +228,7 @@ class HtmlDiff { |
*/ |
Map<String, String> _getTags(String comment) { |
if (comment == null) return const <String, String>{}; |
- final re = const RegExp("@([a-zA-Z]+) ([^;]+)(?:;|\$)"); |
+ final re = new RegExp("@([a-zA-Z]+) ([^;]+)(?:;|\$)"); |
final tags = <String, String>{}; |
for (var m in re.allMatches(comment.trim())) { |
tags[m[1]] = m[2]; |