Skip to content

Commit 59321bf

Browse files
committed
Fix: Remove unnecessary RegexOptions.Compiled
1 parent 479c60d commit 59321bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SQL.Formatter/Core/AbstractFormatter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class AbstractFormatter : IDialectConfigurator
1717
private JSLikeList<Token> _tokens;
1818
private int _index;
1919

20-
private static readonly Regex s_whitespaceRegex = new Regex(@"\s+", RegexOptions.Compiled);
20+
private static readonly Regex s_whitespaceRegex = new Regex(@"\s+");
2121

2222
private static readonly HashSet<TokenTypes> s_preserveWhitespaceFor =
2323
new HashSet<TokenTypes> {

0 commit comments

Comments
 (0)