Skip to content

Commit 7737943

Browse files
committed
Use var keyword
1 parent 542142a commit 7737943

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Rubberduck.RegexAssistant/VBRegexParser.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ private static string DescendGroup(string specifier)
108108

109109
private static string DescendExpression(string specifier, char opening, char closing)
110110
{
111-
int length = 0;
112-
int openingCount = 0;
113-
bool escapeToggle = false;
111+
var length = 0;
112+
var openingCount = 0;
113+
var escapeToggle = false;
114114
foreach (var digit in specifier)
115115
{
116116
if (digit == opening && !escapeToggle)

0 commit comments

Comments
 (0)