Skip to content

Commit

Permalink
Merge pull request #563 from stevencohn/562-fix-grep-plus-quantifier
Browse files Browse the repository at this point in the history
include plus quantifier
  • Loading branch information
stevencohn committed Aug 21, 2022
2 parents ffdb2bc + 7319f0d commit e518eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OneMore/Commands/Search/SearchAndReplaceEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public SearchAndReplaceEditor(string search, XElement replaceElement, bool useRe
/// <returns>A string in which all regular expression control chars are escaped</returns>
public static string EscapeEscapes(string plain)
{
var codes = new char[] { '\\', '.', '*', '|', '?', '(', '[', '$', '^' };
var codes = new char[] { '\\', '.', '*', '|', '?', '(', '[', '$', '^', '+' };

var builder = new StringBuilder();
for (var i = 0; i < plain.Length; i++)
Expand Down

0 comments on commit e518eb0

Please sign in to comment.