Properly shorten library names on Windows.

The library getter may be URL- or path-formatted, so to make Windows
work we need to split on both kinds of separator.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//1234733002 .
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3fdf46e..c660d82 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.3.5
+
+* Properly shorten library names for pathnames of folded frames on Windows.
+
 ## 1.3.4
 
 * No longer say that stack chains aren't supported on dart2js now that
diff --git a/lib/src/frame.dart b/lib/src/frame.dart
index 9043d2b..476b39c 100644
--- a/lib/src/frame.dart
+++ b/lib/src/frame.dart
@@ -4,7 +4,6 @@
 
 library frame;
 
-
 import 'package:path/path.dart' as path;
 
 import 'trace.dart';
diff --git a/lib/src/trace.dart b/lib/src/trace.dart
index 4415161..a1691ed 100644
--- a/lib/src/trace.dart
+++ b/lib/src/trace.dart
@@ -13,7 +13,7 @@
 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.
 ///
diff --git a/pubspec.yaml b/pubspec.yaml
index 93b0817..5a61175 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -7,7 +7,7 @@
 #
 # When the major version is upgraded, you *must* update that version constraint
 # in pub to stay in sync with this.
-version: 1.3.4
+version: 1.3.5
 author: "Dart Team <misc@dartlang.org>"
 homepage: http://github.com/dart-lang/stack_trace
 description: >