We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13ef7ad commit 207aa69Copy full SHA for 207aa69
1 file changed
src/api/Nhs.Appointments.Core/ReferenceNumber/V2/Provider.cs
@@ -32,9 +32,9 @@ public class Provider(
32
: IProvider
33
{
34
//needed for backwards compatibility since we are now checking correctly formatted strings
35
- private Regex BookingReferenceV1Regex => new (@"^\d{2}-\d{2}-\d{6}$");
+ private Regex BookingReferenceV1Regex => new (@"^\d{2}-\d{2}-\d{6}$", RegexOptions.None, TimeSpan.FromMilliseconds(100));
36
37
- private Regex BookingReferenceV2Regex => new (@"^\d{4}-\d{5}-\d{4}$");
+ private Regex BookingReferenceV2Regex => new (@"^\d{4}-\d{5}-\d{4}$", RegexOptions.None, TimeSpan.FromMilliseconds(100));
38
39
private IOptions<ReferenceNumberOptions> Options { get; } = options;
40
0 commit comments