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 linesif l =~"regex" ...?
How about :help profile ? ;)
[...]
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 linesif l =~"regex" ...?
How about :help profile ? ;)
[...]