Thursday, September 4, 2008

Non-greedy vim

To make .* in VIM be non-greedy (i.e. match just <a href=x> out of "<a href=x> </a>"), use:
.\{-}

No comments: