Skip to content

Commit 4d7b159

Browse files
fishythefishCommit Queue
authored andcommitted
Revert "SDK: Deprecate the ability to implement RegExp and RegExpMatch."
This reverts commit 9f2a26e. Reason for revert: b/449079357 Original change's description: > SDK: Deprecate the ability to implement RegExp and RegExpMatch. > > Work towards #55608 > > Change-Id: Ibf666bb8366997ead0b5ae60840854059381effd > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/451981 > Reviewed-by: Martin Kustermann <[email protected]> > Reviewed-by: Stephen Adams <[email protected]> > Reviewed-by: Lasse Nielsen <[email protected]> > Commit-Queue: Samuel Rawlins <[email protected]> No-Presubmit: true No-Tree-Checks: true No-Try: true Change-Id: I6a69728e044b594f1d9e16fbb50308a3f5550f28 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/453221 Commit-Queue: Martin Kustermann <[email protected]> Bot-Commit: Rubber Stamper <[email protected]> Reviewed-by: Martin Kustermann <[email protected]> Auto-Submit: Mayank Patke <[email protected]>
1 parent 798c5d9 commit 4d7b159

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

sdk/lib/core/regexp.dart

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,6 @@ part of "dart:core";
213213
/// when the regexp does not find a match.
214214
/// Several guides to [improving the performance of regular expressions](https://www.google.com/search?q=performance+of+regular+expressions)
215215
/// exist on the internet. Use these as inspirations, too.
216-
@Deprecated.implement(
217-
"This class will become 'final' in a future release. "
218-
"'Pattern' may be a more appropriate interface to implement.",
219-
)
220216
abstract interface class RegExp implements Pattern {
221217
/// Constructs a regular expression.
222218
///
@@ -472,10 +468,6 @@ abstract interface class RegExp implements Pattern {
472468
/// // This is the second message.
473469
/// }
474470
/// ```
475-
@Deprecated.implement(
476-
"This class will become 'final' in a future release."
477-
"'Match' may be a more appropriate interface to implement.",
478-
)
479471
abstract interface class RegExpMatch implements Match {
480472
/// The string captured by the named capture group [name].
481473
///

0 commit comments

Comments
 (0)