I am attempting to revive the cocoa.vim script.
Error detected while processing function objc#man#ShowDoc:
line 32:
E888: (NFA regexp) cannot repeat
Line 32 of the function objc#man#ShowDoc is:
let attrs = split(matchstr(line, '^ \zs*\S*'), '/')[:2]
First, I don't understand the error. What's repeating? What can't it repeat? Searching for that error online brings me to where it's defined in vim's source code, but it's obtuse enough that I don't understand it.
Second, I find it strange that this regexp used to work, but now it doesn't with newer vim.
I have very little vimscript experience and not much regexp experience. Guidance on where to look from those who do would be much appreciated. Here is the whole src if you're interested.