On Sun, Apr 24, 2016 at 8:40 AM, Bram Moolenaar <[email protected]> wrote:
>
> Patch 7.4.1783
> Problem: The old regexp engine doesn't handle character classes
> correctly.
> (Manuel Ortega)
> Solution: Use regmbc() instead of regc(). Add a test.
> Files: src/regexp.c, src/testdir/test_regexp_utf8.vim
>
>
Thanks for the quick patch! The problems seems fixed.
However, the test barfs here on OS X:
From test_alot_utf8.vim:
Found errors in Test_classes_re1():
function RunTheTest[9]..Test_classes_re1[2]..<SNR>6_classes_test line 38:
Expected 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' but got
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzªµºÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ'
function RunTheTest[9]..Test_classes_re1[2]..<SNR>6_classes_test line 41:
Expected '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
but got
'0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzªµºÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ'
function RunTheTest[9]..Test_classes_re1[2]..<SNR>6_classes_test line 43:
Expected '!"#$%&''()*+,-./:;<=>?@[\\]^_`{|}~' but got
'!"#$%&''()*+,-./:;<=>?@[\\]^_`{|}~¡¢£¤¥¦§¨©«¬®¯°±´¶·¸»¿×÷'
Found errors in Test_classes_re2():
function RunTheTest[9]..Test_classes_re2[2]..<SNR>6_classes_test line 38:
Expected 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' but got
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzªµºÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ'
function RunTheTest[9]..Test_classes_re2[2]..<SNR>6_classes_test line 41:
Expected '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
but got
'0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzªµºÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ'
function RunTheTest[9]..Test_classes_re2[2]..<SNR>6_classes_test line 43:
Expected '!"#$%&''()*+,-./:;<=>?@[\\]^_`{|}~' but got
'!"#$%&''()*+,-./:;<=>?@[\\]^_`{|}~¡¢£¤¥¦§¨©«¬®¯°±´¶·¸»¿×÷'
TEST FAILURE
make[2]: *** [report] Error 1
make[1]: *** [test] Error 2
make: *** [test] Error 2
--
--
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.