79351858

Date: 2025-01-13 10:31:24
Score: 0.5
Natty:
Report link

The GeneratedRegexAttribute has a constructor that accepts matchTimeoutMilliseconds, you can just use that like

[GeneratedRegex("...", RegexOptions.IgnoreCase, 1000 /* Or whatever value */)]
private static partial Regex Pattern();
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: MindSwipe