File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Exceptionless.DateTimeExtensions/FormatParsers/FormatParsers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ namespace Exceptionless.DateTimeExtensions.FormatParsers;
8
8
[ Priority ( 25 ) ]
9
9
public class TwoPartFormatParser : IFormatParser
10
10
{
11
- private static readonly Regex _beginRegex = new ( @"^\s*(?:[\[\{])?\s*" ) ;
12
- private static readonly Regex _delimiterRegex = new ( @"\G(?:\s*-\s*|\s+TO\s+)" , RegexOptions . IgnoreCase ) ;
13
- private static readonly Regex _endRegex = new ( @"\G\s*(?:[\]\}])?\s*$" ) ;
11
+ private static readonly Regex _beginRegex = new ( @"^\s*(?:[\[\{])?\s*" , RegexOptions . Compiled ) ;
12
+ private static readonly Regex _delimiterRegex = new ( @"\G(?:\s*-\s*|\s+TO\s+)" , RegexOptions . Compiled | RegexOptions . IgnoreCase ) ;
13
+ private static readonly Regex _endRegex = new ( @"\G\s*(?:[\]\}])?\s*$" , RegexOptions . Compiled ) ;
14
14
15
15
public TwoPartFormatParser ( )
16
16
{
You can’t perform that action at this time.
0 commit comments