typo: patter -> pattern in lib/core/pattern.dart

Closes https://github.com/dart-lang/sdk/pull/47198
https://github.com/dart-lang/sdk/pull/47198

GitOrigin-RevId: 647929b9ed24826261d37f60bd2180d79917e954
Change-Id: Ic857fffa8232e29f8ae5248bc7c4ce9264a090b5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213220
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
This commit is contained in:
Murtaza Raja 2021-09-12 18:23:08 +00:00 committed by Kevin Moore
parent 763988d7f4
commit 7c7f6623a9

View file

@ -19,7 +19,7 @@ abstract class Pattern {
/// of the pattern in the string, initially starting from [start],
/// and then from the end of the previous match (but always
/// at least one position later than the *start* of the previous
/// match, in case the patter matches an empty substring).
/// match, in case the pattern matches an empty substring).
Iterable<Match> allMatches(String string, [int start = 0]);
/// Matches this pattern against the start of `string`.