Re: Feedback new regex engine - more utf-8 and an esoteric \NULL case?

2013-05-21 Fir de Conversatie Bram Moolenaar
Marc Weber wrote: 1) That the new regex *silently* fails if something is not supported is no option - you should throw an error IMHO so that people know that something goes wrong. It happens if you set 'regexpengine' to 2. 2) https://gist.github.com/MarcWeber/5616733 I've created an

Re: Feedback new regex engine - more utf-8 and an esoteric \NULL case?

2013-05-21 Fir de Conversatie mattn
On Tuesday, May 21, 2013 7:04:55 PM UTC+9, Bram Moolenaar wrote: Some syntax hilighighting won't work even though re=1. For example: 1. type google 2. :syn clear | syn match ErrorMsg \go*\|go Using vim that older than 970: http://go-gyazo.appspot.com/a16424e8636121c6.png Using vim that 970 or

Re: Feedback new regex engine - more utf-8 and an esoteric \NULL case?

2013-05-21 Fir de Conversatie Bram Moolenaar
Yasuhiro Matsumoto wrote: On Tuesday, May 21, 2013 7:04:55 PM UTC+9, Bram Moolenaar wrote: Some syntax hilighighting won't work even though re=1. For example: 1. type google 2. :syn clear | syn match ErrorMsg \go*\|go Using vim that older than 970:

Re: Feedback new regex engine - more utf-8 and an esoteric \NULL case?

2013-05-21 Fir de Conversatie mattn
On Tuesday, May 21, 2013 7:44:10 PM UTC+9, Bram Moolenaar wrote: Yasuhiro Matsumoto wrote: On Tuesday, May 21, 2013 7:04:55 PM UTC+9, Bram Moolenaar wrote: Some syntax hilighighting won't work even though re=1. For example: 1. type google 2. :syn clear | syn

Re: Feedback new regex engine - more utf-8 and an esoteric \NULL case?

2013-05-21 Fir de Conversatie mattn
you need to do syn clear, because the compiled pattern I tested this after restarting vim each times. -- -- 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

Re: Feedback new regex engine - more utf-8 and an esoteric \NULL case?

2013-05-21 Fir de Conversatie Marc Weber
I fixed \F yesterday. Hmm, but you say you include patch 981. What is the Vim command to reproduce this? [1] let reg = 'ú\Z' let t = echo matchlist('\%#=1'.reg, t) echo matchlist('\%#=2'.reg, t) Isn't this the same for the old and the new engine? right, I can no loger

Re: Feedback new regex engine - more utf-8 and an esoteric \NULL case?

2013-05-21 Fir de Conversatie Bram Moolenaar
Marc Weber wrote: I fixed \F yesterday. Hmm, but you say you include patch 981. What is the Vim command to reproduce this? [1] let reg = 'ú\Z' let t = echo matchlist('\%#=1'.reg, t) echo matchlist('\%#=2'.reg, t) Isn't this the same for the old and the new engine?

Feedback new regex engine - more utf-8 and an esoteric \NULL case?

2013-05-20 Fir de Conversatie Marc Weber
1) That the new regex *silently* fails if something is not supported is no option - you should throw an error IMHO so that people know that something goes wrong. 2) https://gist.github.com/MarcWeber/5616733 I've created an unfinished QuickCheck script to compare the old and the new engine -