Chromium Code Reviews| Index: sdk/lib/core/pattern.dart |
| diff --git a/sdk/lib/core/pattern.dart b/sdk/lib/core/pattern.dart |
| index ac7815dd6ec1fc6245318a21d8ea9f973c4a582f..aa0f272e1d9bdc42850350301f7405b2969be916 100644 |
| --- a/sdk/lib/core/pattern.dart |
| +++ b/sdk/lib/core/pattern.dart |
| @@ -6,4 +6,5 @@ part of dart.core; |
| abstract class Pattern { |
| Iterable<Match> allMatches(String str); |
| + Match matchPrefix(String string, [int index = 0]); |
|
floitsch
2013/06/11 12:45:24
matchAsPrefix?
string.matchAsPrefix(otherString)
Lasse Reichstein Nielsen
2013/06/12 09:24:05
Done.
|
| } |