File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ internal static partial class CompiledRegex
9
9
[ StringSyntax ( "Regex" ) ]
10
10
#endif
11
11
private const string
12
- WhitespaceOrReservedPattern = @"[\s;/\-+*]|^vacuum$|^commit$|^rollback$" ,
12
+ WhitespaceOrReservedPattern = @"[\s;/\-+*]|^vacuum$|^commit$|^rollback$|^revert$ " ,
13
13
LegacyParameterPattern = @"(?<![\p{L}\p{N}@_])[?@:](?![\p{L}\p{N}@_])" , // look for ? / @ / : *by itself* - see SupportLegacyParameterTokens
14
14
LiteralTokensPattern = @"(?<![\p{L}\p{N}_])\{=([\p{L}\p{N}_]+)\}" , // look for {=abc} to inject member abc as a literal
15
15
PseudoPositionalPattern = @"\?([\p{L}_][\p{L}\p{N}_]*)\?" ; // look for ?abc? for the purpose of subst back to ? using member abc
Original file line number Diff line number Diff line change @@ -333,6 +333,7 @@ public async Task Issue1986_AutoProc_Whitespace(string space)
333
333
[ InlineData ( "VACUUM;" , CommandType . Text ) ]
334
334
[ InlineData ( "cOmmiT" , CommandType . Text ) ]
335
335
[ InlineData ( "rOllbAck" , CommandType . Text ) ]
336
+ [ InlineData ( "reVErt" , CommandType . Text ) ]
336
337
337
338
// comments imply text
338
339
[ InlineData ( "foo--bar" , CommandType . Text ) ]
You can’t perform that action at this time.
0 commit comments