This doesn't work on FEAT_MBYTE.
diff -r b64f0df9399c src/regexp_nfa.c
--- a/src/regexp_nfa.c Tue Feb 17 17:50:26 2015 +0100
+++ b/src/regexp_nfa.c Mon Mar 02 11:21:55 2015 +0900
@@ -6477,7 +6477,11 @@
/* Bail out quickly when there can't be a match, avoid the
* overhead of win_linetabsize() on long lines. */
- if (op != 1 && col > t->state->val)
+ if (op != 1 && col > t->state->val
+#ifdef FEAT_MBYTE
+ * MB_MAXBYTES
+#endif
+ )
break;
result = FALSE;
if (op == 1 && col - 1 > t->state->val && col > 100)
--
--
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.