File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 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
99 [ StringSyntax ( "Regex" ) ]
1010#endif
1111 private const string
12- WhitespaceOrReservedPattern = @"[\s;/\-+*]|^vacuum$|^commit$|^rollback$" ,
12+ WhitespaceOrReservedPattern = @"[\s;/\-+*]|^vacuum$|^commit$|^rollback$|^revert$ " ,
1313 LegacyParameterPattern = @"(?<![\p{L}\p{N}@_])[?@:](?![\p{L}\p{N}@_])" , // look for ? / @ / : *by itself* - see SupportLegacyParameterTokens
1414 LiteralTokensPattern = @"(?<![\p{L}\p{N}_])\{=([\p{L}\p{N}_]+)\}" , // look for {=abc} to inject member abc as a literal
1515 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)
333333 [ InlineData ( "VACUUM;" , CommandType . Text ) ]
334334 [ InlineData ( "cOmmiT" , CommandType . Text ) ]
335335 [ InlineData ( "rOllbAck" , CommandType . Text ) ]
336+ [ InlineData ( "reVErt" , CommandType . Text ) ]
336337
337338 // comments imply text
338339 [ InlineData ( "foo--bar" , CommandType . Text ) ]
You can’t perform that action at this time.
0 commit comments