Hi

Attached patch "regexp-equiv-7.4.729.patch" fixes 2 issues:

* searching for [[=ḏ=]] (i.e. equivalent char of  U+1E0F)
  does not match d (it should match d)
* searching for [[=ᴋ=]] (i.e equivalent char of U+1D0B)
  matches d (it should not match d).

Regards
Dominique

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff -r ca3db36a6ed8 src/regexp.c
--- a/src/regexp.c	Thu May 14 05:56:09 2015 +0200
+++ b/src/regexp.c	Tue Jun 02 23:46:53 2015 +0200
@@ -1011,10 +1011,10 @@
 		      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 0xe8: case 0xe9: case 0xea: case 0xeb:
 	    CASEMBC(0x113) CASEMBC(0x115) CASEMBC(0x117) CASEMBC(0x119)
diff -r ca3db36a6ed8 src/regexp_nfa.c
--- a/src/regexp_nfa.c	Thu May 14 05:56:09 2015 +0200
+++ b/src/regexp_nfa.c	Tue Jun 02 23:46:53 2015 +0200
@@ -946,10 +946,10 @@
 		    EMITMBC(0x10b) EMITMBC(0x10d)
 		    return OK;
 
-	    case 'd': CASEMBC(0x10f) CASEMBC(0x111) CASEMBC(0x1d0b)
-	    CASEMBC(0x1e11)
-		    EMIT2('d'); EMITMBC(0x10f) EMITMBC(0x111) EMITMBC(0x1e0b)
-		    EMITMBC(0x01e0f) EMITMBC(0x1e11)
+	    case 'd': CASEMBC(0x10f) CASEMBC(0x111) CASEMBC(0x1e0b)
+	    CASEMBC(0x1e0f) CASEMBC(0x1e11)
+		    EMIT2('d'); EMITMBC(0x10f) EMITMBC(0x111)
+		    EMITMBC(0x1e0b) EMITMBC(0x1e0f) EMITMBC(0x1e11)
 		    return OK;
 
 	    case 'e': case 0350: case 0351: case 0352: case 0353:

Raspunde prin e-mail lui