Closed bran-solo closed 1 year ago
Have also seen weird stuff with strings containing question marks. Let me know if you want separate issue.
Hm seeing another one where www.google.com with '!s google/poop' outputs 'http://www.%2A%2Apoop%2A%2A.com/'.
Guessing if we want to keep using regexp in this way we need to escape the input string.
Also fucks up search queries containing '$'
literally just escapt the + like !s love\+/hare-
and it will work. I think its funny that bejean wil use a real regex with backticks.
Repro steps:
Expected: Output of 'testandpoop'
Actual: Bot doesn't respond
Probably something weird with how we're using regexes.