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

Unified Diff: lib/src/trace.dart

Issue 1234733002: Properly shorten library names on Windows. (Closed) Base URL: git@github.com:dart-lang/stack_trace@master
Patch Set: Created 5 years, 5 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 | « lib/src/frame.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/trace.dart
diff --git a/lib/src/trace.dart b/lib/src/trace.dart
index 4415161cb6eca488e8e69c467df2ca1d8c8dc5dd..a1691ed1850f9e9adbdd9b944938862bfb0d0bd4 100644
--- a/lib/src/trace.dart
+++ b/lib/src/trace.dart
@@ -13,7 +13,7 @@ import 'lazy_trace.dart';
import 'utils.dart';
import 'vm_trace.dart';
-final _terseRegExp = new RegExp(r"(-patch)?(/.*)?$");
+final _terseRegExp = new RegExp(r"(-patch)?([/\\].*)?$");
/// A RegExp to match V8's stack traces.
///
« no previous file with comments | « lib/src/frame.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698