1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-08 03:27:04 +09:00

tweaked a test

This commit is contained in:
vsadov 2023-01-08 13:03:13 -08:00
parent 4690b79881
commit fa6ed19234

View file

@ -1261,9 +1261,13 @@ namespace System.Text.RegularExpressions.Tests
// each lookaround at every iteration of the loop and without any backtracking. We still
// want timeouts here at least every O(N) work.
// TODO: Satori. These are fast enough on Satori to not timeout.
// 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 };
//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...