We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5364317 commit 5be500dCopy full SHA for 5be500d
Source/Testably.Abstractions.FluentAssertions/Match.cs
@@ -1,4 +1,5 @@
1
-using System.Text.RegularExpressions;
+using System;
2
+using System.Text.RegularExpressions;
3
4
namespace Testably.Abstractions.FluentAssertions;
5
@@ -60,7 +61,7 @@ public override bool Matches(string? value)
60
61
RegexOptions options = _ignoreCase
62
? RegexOptions.IgnoreCase
63
: RegexOptions.None;
- return Regex.IsMatch(value, _pattern, options);
64
+ return Regex.IsMatch(value, _pattern, options, TimeSpan.FromMilliseconds(1000));
65
}
66
67
/// <inheritdoc cref="object.ToString()" />
0 commit comments