From c0493aba6dd4f5b261781f57ecf3a048af45feeb Mon Sep 17 00:00:00 2001 From: Edward Powell Date: Sat, 2 Mar 2013 11:03:13 -0500 Subject: [PATCH] [find] Fix bug that prevented sed'ing to nothing Close issue #195 --- find.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find.py b/find.py index 03822bc376..23b18b9943 100644 --- a/find.py +++ b/find.py @@ -122,7 +122,7 @@ def findandreplace(willie, trigger): #slash is ignored, you can escape slashes with backslashes, and if you want to #search for an actual backslash followed by an actual slash, you're shit out of #luck because this is the fucking regex of death as it is. -findandreplace.rule = r'(?:(\S+)[:,]\s+)?s/((?:\\/|[^/])+)/((?:\\/|[^/])+)(?:/(\S+))?' +findandreplace.rule = r'(?:(\S+)[:,]\s+)?s/((?:\\/|[^/])+)/((?:\\/|[^/])*)(?:/(\S+))?' findandreplace.priority = 'high'