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