From d45f8b5bcc51018dfdc7d8376e8410e6614126b8 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Tue, 13 Aug 2024 17:16:44 -0400 Subject: [PATCH] Remove two outdated test inputs from regex match timeout tests (#106174) --- .../tests/FunctionalTests/Regex.Match.Tests.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.Match.Tests.cs b/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.Match.Tests.cs index 1f0e2932c6425..1bbc7cf607c68 100644 --- a/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.Match.Tests.cs +++ b/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.Match.Tests.cs @@ -1264,8 +1264,6 @@ public static IEnumerable Match_Timeout_Throws_MemberData() // Lookarounds yield return new object[] { engine, @"((?=(?>a*))a)+", a1_000_000 }; yield return new object[] { engine, @"((?<=(?>a*))a)+", a1_000_000 }; - yield return new object[] { engine, @"((?!(?>[^a]*))a)+", a1_000_000 }; - yield return new object[] { engine, @"((?[^a]*))a)+", a1_000_000 }; // All of the below tests have catastrophic backtracking...