Skip to content

Commit fcd642b

Browse files
author
Sébastien Geiser
committed
Refactoring
1 parent 6337288 commit fcd642b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RegexDialog/RegExToolDialog.xaml.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -2366,13 +2366,13 @@ private void ShowInCSharpButton_Click(object sender, RoutedEventArgs e)
23662366
+ $"Regex regexInstance = new Regex({regex}{options});\r\n"
23672367
+ "\r\n\r\n"
23682368
+ "// IsMatch\r\n"
2369-
+ $"bool isMatch = regexInstance.IsMatch(input);"
2369+
+ "bool isMatch = regexInstance.IsMatch(input);"
23702370
+ "\r\n\r\n"
23712371
+ "// Match\r\n"
2372-
+ $"Match match = regexInstance.Match(input);"
2372+
+ "Match match = regexInstance.Match(input);"
23732373
+ "\r\n\r\n"
23742374
+ "// Matches\r\n"
2375-
+ $"MatchCollection matchCollection = regexInstance.Matches(input);"
2375+
+ "MatchCollection matchCollection = regexInstance.Matches(input);"
23762376
+ "\r\n\r\n"
23772377
+ "// Replace\r\n"
23782378
+ $"string resultText = regexInstance.Replace(input,{replace});";

0 commit comments

Comments
 (0)