aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp_nfa.c
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-07-03 05:29:15 -0400
committerMichael Reed <m.reed@mykolab.com>2015-07-19 15:14:22 -0400
commit4f444ae4f8813a1193dd831049d19f86b5128e93 (patch)
tree6055408df8b5409794180010da48ce193e0be8bc /src/nvim/regexp_nfa.c
parent0661411bbaa547b9ddd9fde8ed40ca9cb0dcfcae (diff)
downloadrneovim-4f444ae4f8813a1193dd831049d19f86b5128e93.tar.gz
rneovim-4f444ae4f8813a1193dd831049d19f86b5128e93.tar.bz2
rneovim-4f444ae4f8813a1193dd831049d19f86b5128e93.zip
Remove POSIX 'cpoptions': '\'
Diffstat (limited to 'src/nvim/regexp_nfa.c')
-rw-r--r--src/nvim/regexp_nfa.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/regexp_nfa.c b/src/nvim/regexp_nfa.c
index d9dc09b623..42cebb0198 100644
--- a/src/nvim/regexp_nfa.c
+++ b/src/nvim/regexp_nfa.c
@@ -1584,10 +1584,8 @@ collection:
* Only "\]", "\^", "\]" and "\\" are special in Vi. Vim
* accepts "\t", "\e", etc., but only when the 'l' flag in
* 'cpoptions' is not included.
- * Posix doesn't recognize backslash at all.
*/
if (*regparse == '\\'
- && !reg_cpo_bsl
&& regparse + 1 <= endp
&& (vim_strchr(REGEXP_INRANGE, regparse[1]) != NULL
|| (!reg_cpo_lit