We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4a2555 commit 5c974c7Copy full SHA for 5c974c7
sopel/modules/find.py
@@ -137,11 +137,11 @@ def kick_cleanup(bot, trigger):
137
[:,]\s+)? # Followed by optional colon/comma and whitespace
138
s(?P<sep>\|) # The literal s and a separator | as group 2
139
(?P<old> # Group 3 is the thing to find
140
- (?:\\\||[^|])+ # One or more non-slashes or escaped slashes
+ (?:\\\||[^|])+ # One or more non-pipe or escaped pipe
141
)
142
\| # The separator again
143
(?P<new> # Group 4 is what to replace with
144
- (?:\\\||[^|])* # One or more that isn't the separator
+ (?:\\\||[^|])* # One or more non-pipe or escaped pipe
145
146
(?:| # Optional separator followed by group 5 (flags)
147
(?P<flags>\S+)
0 commit comments