Index: samples/third_party/dromaeo/common/BenchUtil.dart |
diff --git a/samples/third_party/dromaeo/common/BenchUtil.dart b/samples/third_party/dromaeo/common/BenchUtil.dart |
index 6dd5cce2fc3f561f06b541c282e4f09acc8039dc..a1744a278e64a3cd315e23d09cb81b3e4b58681a 100644 |
--- a/samples/third_party/dromaeo/common/BenchUtil.dart |
+++ b/samples/third_party/dromaeo/common/BenchUtil.dart |
@@ -71,9 +71,9 @@ class BenchUtil { |
int pos = 0; |
for (Match match in new RegExp(pattern).allMatches(s)) { |
- sb.add(s.substring(pos, match.start())); |
+ sb.add(s.substring(pos, match.start)); |
sb.add(replacement(match)); |
- pos = match.end(); |
+ pos = match.end; |
} |
sb.add(s.substring(pos)); |