Re: perl x modifier regex ?

2007-01-02 Thread Marc Chantreux
A.J.Mechelynck a écrit : You can always add one or more lines of comments above or below the line including the pattern in a Vim script, or even, in most cases, at the end of the line; but IIUC you cannot insert comments in the middle of a pattern. Ok. There is no solution so i decided to write

Re: perl x modifier regex ?

2007-01-02 Thread Marc Chantreux
Hi Theerasak, my problem is not to read the regExp but maintain them so your script don't help here. It sounds good btw. Regards, mc Theerasak Photha a écrit : On 12/28/06, Marc Chantreux <[EMAIL PROTECTED]> wrote: hi all, Is there a way to obtain the perl x modifier behaviour in vim regex

Re: perl x modifier regex ?

2006-12-28 Thread A.J.Mechelynck
Marc Chantreux wrote: hi all, Is there a way to obtain the perl x modifier behaviour in vim regex (spaces are non significants, comments are allowed). This is very usefull to make a regexp more readable. regards mc You can always add one or more lines of comments above or below the line

Re: perl x modifier regex ?

2006-12-28 Thread Theerasak Photha
On 12/28/06, Marc Chantreux <[EMAIL PROTECTED]> wrote: hi all, Is there a way to obtain the perl x modifier behaviour in vim regex (spaces are non significants, comments are allowed). This is very usefull to make a regexp more readable. No, but there is this: http://www.vim.org/scripts/script