Escape punctuation signs in search query#20518
Conversation
It fixes mozilla#20516. The chars `*{}()[]\` are punctuation signs in regex, so they need to be escaped when searching for them literally.
|
/botio unittest |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/53ea21154d0a51d/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_unittest from @calixteman received. Current queue size: 1 Live output at: http://54.193.163.58:8877/e8e2503d15b5267/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/53ea21154d0a51d/output.txt Total script time: 2.76 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/e8e2503d15b5267/output.txt Total script time: 9.06 mins
|
|
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 1 Live output at: http://54.241.84.105:8877/f1b96cae512de8e/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/f1b96cae512de8e/output.txt Total script time: 1.47 mins Published |
|
Thank you for fixing this! |
|
Thank you for the fast fix! |
It fixes #20516.
The chars
*{}()[]\are punctuation signs in regex, so they need to be escaped when searching for them literally.