Index: pkg/intl/lib/intl_standalone.dart |
diff --git a/pkg/intl/lib/intl_standalone.dart b/pkg/intl/lib/intl_standalone.dart |
index d8ca238b8287e038911f68caaf1a5a4f4bf6e48b..6d42b5ecf597fd9aff4cd0199e463c816eddd80a 100644 |
--- a/pkg/intl/lib/intl_standalone.dart |
+++ b/pkg/intl/lib/intl_standalone.dart |
@@ -51,7 +51,7 @@ Future<String> findSystemLocale() { |
* Regular expression to match the expected output of systeminfo on |
* Windows. e.g. System Locale:<tab>en_US;English (United States) |
*/ |
-RegExp _sysInfoRegex = new RegExp(r"System Locale:\s+(\w\w-\w+);"); |
+RegExp _sysInfoRegex = const RegExp(r"System Locale:\s+(\w\w-\w+);"); |
/** |
* Regular expression to match the expected output of reading the defaults |
@@ -61,7 +61,7 @@ RegExp _sysInfoRegex = new RegExp(r"System Locale:\s+(\w\w-\w+);"); |
* "pt-PT", |
* ... |
*/ |
-RegExp _appleDefaultsRegex = new RegExp(r'(\w\w_\w+)'); |
+RegExp _appleDefaultsRegex = const RegExp(r'(\w\w_\w+)'); |
/** |
* Check to see if we have a "LANG" environment variable we can use and return |