Le vendredi 6 mars 2015 17:47:15 UTC+1, Enno a écrit :
> To check if a file path 'path' matches &backupskip,
> the naive try
>
> path ~=# &backupskip
>
> does not work because &backupskip is a file pattern
> as used for autocmd events. Is there a function
> 'file2regex()' that converts &backupsk
On Do, 12 Mär 2015, Christian Brabandt wrote:
> Am 2015-03-12 11:48, schrieb Enno:
> >Le vendredi 6 mars 2015 17:47:15 UTC+1, Enno a écrit :
> >>To check if a file path 'path' matches &backupskip,
> >>the naive try
> >>
> >>path ~=# &backupskip
> >>
> >>does not work because &backupskip is a file
Le vendredi 6 mars 2015 17:47:15 UTC+1, Enno a écrit :
> To check if a file path 'path' matches &backupskip,
> the naive try
>
> path ~=# &backupskip
>
> does not work because &backupskip is a file pattern
> as used for autocmd events. Is there a function
> 'file2regex()' that converts &backupsk
Am 2015-03-12 11:48, schrieb Enno:
Le vendredi 6 mars 2015 17:47:15 UTC+1, Enno a écrit :
To check if a file path 'path' matches &backupskip,
the naive try
path ~=# &backupskip
does not work because &backupskip is a file pattern
as used for autocmd events. Is there a function
'file2regex()' th
Le vendredi 6 mars 2015 17:47:15 UTC+1, Enno a écrit :
> To check if a file path 'path' matches &backupskip,
> the naive try
>
> path ~=# &backupskip
>
> does not work because &backupskip is a file pattern
> as used for autocmd events. Is there a function
> 'file2regex()' that converts &backupsk
Hi Enno!
On Fr, 06 Mär 2015, Enno wrote:
> To check if a file path 'path' matches &backupskip,
> the naive try
>
> path ~=# &backupskip
>
> does not work because &backupskip is a file pattern
> as used for autocmd events. Is there a function
> 'file2regex()' that converts &backupskip to a Vim
To check if a file path 'path' matches &backupskip,
the naive try
path ~=# &backupskip
does not work because &backupskip is a file pattern
as used for autocmd events. Is there a function
'file2regex()' that converts &backupskip to a Vim regex
pattern so that
path ~=# file2regex(&backupskip)
is