Vimで最短一致

vimで最短一致が思うようにいかなかった。

例えば、

```
spring-android-showcase - The showcase contains client and server apps, and illustrates the features of Spring for Android.

spring-android-news-reader - The news reader highlights the use of the Android ROME Feed Reader by retrieving RSS and Atom news feeds.

spring-android-twitter-search - The Twitter search app demonstrates an Android project including Spring for Android jars without the use of Maven's dependency management.

spring-android-twitter-client - A Twitter client demonstrating Spring Social on Android

spring-android-facebook-client - A Facebook client demonstrating Spring Social on Android

spring-android-basic-auth - These client and server applications show how to make Basic Auth requests using RestTemplate on Android and connecting to a Spring MVC site.
```

上記の文章で、spring-android-????-を抜きたいとき、

before:
/spring-android-.*?-/

とやろうとしたらうまく行かない。

エスケープだろうとごにょごにょしたら、

after:
/spring-android-.*\\\?-/

でうまくいった。

エスケープ、大杉蓮ですな (´・ω・`)

調べたところ、vimで最短一致は若干特殊な記法があったった。

before:
/spring-android-.*?-/

after:
/spring-android-.\{-}-/

参考
http://webtech-walker.com/archive/2009/01/22160435.html