Marc Weber wrote:
When doing something like
map(["a","b"],"matchstr(v:val, "\(.\)"))
will the regular expression "\(.\)" be compiled on every iteration?

How about this:

for l in lines
if l =~"regex" ...
?
How about :help profile ? ;)
[...]

Reply via email to