Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: pkg/intl/intl_standalone.dart

Issue 10939002: Fix finding locale from OS on Windows (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/intl/intl.dart ('k') | pkg/intl/test/intl_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/intl_standalone.dart
===================================================================
--- pkg/intl/intl_standalone.dart (revision 12504)
+++ pkg/intl/intl_standalone.dart (working copy)
@@ -51,7 +51,7 @@
* Regular expression to match the expected output of systeminfo on
* Windows. e.g. System Locale:<tab>en_US;English (United States)
*/
-RegExp _sysInfoRegex = const RegExp(@"System Locale:\t(\w\w-\w+);");
+RegExp _sysInfoRegex = const RegExp(@"System Locale:\s+(\w\w-\w+);");
/**
* Regular expression to match the expected output of reading the defaults
« no previous file with comments | « pkg/intl/intl.dart ('k') | pkg/intl/test/intl_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698