This is probably incomplete and the implementation could be improved using nextgroup rather than the look-behind but that might be better implemented as a more general strategy.
@nickspoons, I don't think this causes any harm so it may as well go in for Vim 9 if you have no objections.
Yes I agree, this looks good to me. I don't know whether nextgroup is better than the look-behind, I'll leave that to you. Feel free to merge it when you're ready.
This is probably incomplete and the implementation could be improved using
nextgroup
rather than the look-behind but that might be better implemented as a more general strategy.@nickspoons, I don't think this causes any harm so it may as well go in for Vim 9 if you have no objections.
Fixes issue #36.