Commit 76162984 authored by fabian serin's avatar fabian serin
Browse files

Adding test for double escaping

parent dd4bc8fe
Pipeline #59183 passed with stages
in 37 minutes and 52 seconds
......@@ -50,6 +50,10 @@ ESCAPE_CHAR_PARAMS = [
('not char to escape', 'not char to escape'),
('wildcard * ? not to escape', 'wildcard * ? not to escape'),
(r'all other to escape +-=><!(){}[]^"~:\ /', r'all other to escape \+\-\=\>\<\!\(\)\{\}\[\]\^\"\~\:\\ \/'),
('double escape if already escaped \\+\\-\\=\\>\\<\\!\(\\)\\{\\}\\[\\]\\^\\"\\~\\:\\\ \\/',
'double escape if already escaped '
'\\\\\\+\\\\\\-\\\\\\=\\\\\\>\\\\\\<\\\\\\!\\\\\\(\\\\\\)\\\\\\{\\\\\\}\\\\\\[\\\\\\]\\\\\\^'
'\\\\\\"\\\\\\~\\\\\\:\\\\\\\\ \\\\\\/'),
]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment