Fix regex for decorating existing patterns
authorGreg Hurrell <greg@hurrell.net>
Wed, 7 Jun 2017 02:29:10 +0000 (19:29 -0700)
committerGreg Hurrell <greg@hurrell.net>
Wed, 7 Jun 2017 02:29:10 +0000 (19:29 -0700)
commit39111230e1844847f7aed9b47daf077850fc3225
tree54ce7255eb54faa9026647d303cc396c6dd73a9f
parent2ecd32ece03a6ba280b900c1582a61b097b0a6a4
Fix regex for decorating existing patterns

Was only working with one prefix and one suffix:

  a=b c=d e=f

(finding c=d).

Would fail given:

  a=b c=d e=f g=h

Which means that it would end up creating a dupe rule for "c=d",
potentially, which Vim would then collapse.
autoload/pinnacle.vim