SearchJumper
SearchJumper copied to clipboard
%t.replace search param is not replacing the text
Describe the bug %t.replace search param does not replace the text when there is a space between the matched text and the substitution.
To Reproduce Steps to reproduce the behavior:
- Create a new engine using %t.replace() in the URL
- Use a regex pattern in the replace function that ends with .* 2.1 Example: %t.replace(/.+/(\w+).*/, "$1")
Expected behavior The link should be replaced by the last word found
Screenshots
Desktop (please complete the following information):
- OS: Linux Mint
- Browser: Firefox
- Version: 128.0 (64-bit)
Thank you, I missed an escape character. It's fixed now.