2e0784a6c5
Apparently the web implementation of RegExp has drifted from the native implementation in a very subtle way. To prevent further drift, this CL refactors named-captures_test into two tests, one which fails on all web backends currently(named_captures_2_test), and one that passes on all backends(named-captures_test, named unchanged to preserve history). Change-Id: Ie94185948873fe3e592c10a45c6127dc6d0a4238 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/267282 Reviewed-by: Nicholas Shahan <nshahan@google.com> Reviewed-by: Stephen Adams <sra@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Joshua Litt <joshualitt@google.com>