aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp.c
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2015-07-21 14:02:14 +0200
committerJustin M. Keyes <justinkz@gmail.com>2015-08-09 21:09:28 -0400
commit3df37a842488182a14941acbcf7901a87528f153 (patch)
treef2e4d71d5e1e54497d5cce52a05a72b84b47fcdd /src/nvim/regexp.c
parentef6451a11329c2e60764e9e17fadcec4e82f08f3 (diff)
downloadrneovim-3df37a842488182a14941acbcf7901a87528f153.tar.gz
rneovim-3df37a842488182a14941acbcf7901a87528f153.tar.bz2
rneovim-3df37a842488182a14941acbcf7901a87528f153.zip
vim-patch:7.4.776 #3062
Problem: Equivalence class for 'd' does not work correctly. Solution: Fix 0x1e0f and 0x1d0b. (Dominique Pelle) Original patch: https://code.google.com/p/vim/source/detail?r=94b17958585153641ad1e813fa144cad57c7170f
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r--src/nvim/regexp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c
index 4724a07895..e2c4b590d0 100644
--- a/src/nvim/regexp.c
+++ b/src/nvim/regexp.c
@@ -961,10 +961,10 @@ static void reg_equi_class(int c)
REGMBC(0x107) REGMBC(0x109) REGMBC(0x10b)
REGMBC(0x10d)
return;
- case 'd': CASEMBC(0x10f) CASEMBC(0x111) CASEMBC(0x1d0b)
- CASEMBC(0x1e11)
+ case 'd': CASEMBC(0x10f) CASEMBC(0x111) CASEMBC(0x1e0b)
+ CASEMBC(0x1e0f) CASEMBC(0x1e11)
regmbc('d'); REGMBC(0x10f) REGMBC(0x111)
- REGMBC(0x1e0b) REGMBC(0x01e0f) REGMBC(0x1e11)
+ REGMBC(0x1e0b) REGMBC(0x1e0f) REGMBC(0x1e11)
return;
case 'e': case '\350': case '\351': case '\352': case '\353':
CASEMBC(0x113) CASEMBC(0x115) CASEMBC(0x117) CASEMBC(0x119)