Grep backend escapes +

This commit is contained in:
Thomas Patzke
2019-02-19 14:49:06 +01:00
parent eeae74e245
commit 9ef314486e
+1 -1
View File
@@ -23,7 +23,7 @@ class GrepBackend(BaseBackend, QuoteCharMixin):
identifier = "grep"
active = True
reEscape = re.compile("([\\|()\[\]{}.^$])")
reEscape = re.compile("([\\|()\[\]{}.^$+])")
def generateQuery(self, parsed):
return "grep -P '^%s'" % self.generateNode(parsed.parsedSearch)