Skip to content
Snippets Groups Projects
Commit 712f28ce authored by Travis Heppe's avatar Travis Heppe Committed by Marijn Haverbeke
Browse files

[vim] Add flipEscaping

... so that '|' can be used as an OR in regular expressions or as a literal
character, depending on whether it was escaped or not.

1) fix the escaping of '(' and ')' in search expressions.
2) get the correct placement of the '\' in characters that need to introduce escaping.
3) change the capture unit test to expect that '(' and ')' should be escaped, as does real vim.
parent 773b84ba
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment