Index: utils/template/codegen.dart |
diff --git a/utils/template/codegen.dart b/utils/template/codegen.dart |
index 6f566a6db14d9a020bd9b986586f0e8fe85d064e..a622fba74456df5406663c3ff6308a30d4e49840 100644 |
--- a/utils/template/codegen.dart |
+++ b/utils/template/codegen.dart |
@@ -501,7 +501,7 @@ class Codegen { |
class ElemCG { |
// List of identifiers and quoted strings (single and double quoted). |
- var identRe = new RegExp( |
+ var identRe = const RegExp( |
"\s*('\"\\'\\\"[^'\"\\'\\\"]+'\"\\'\\\"|[_A-Za-z][_A-Za-z0-9]*)"); |
List<CGBlock> _cgBlocks; |