居然發現自己不會用non-greedy match
平常都用perl跑,突然間發現自己想在vim下用卻一直出現問題
嘖,工具生鏽了。
* (0 or more) greedy matching
\+ (1 or more) greedy matching
\{-} (0 or more) non-greedy matching
\{-n,} (at least n) non-greedy matching
* (0 or more) greedy matching
\+ (1 or more) greedy matching
\{-} (0 or more) non-greedy matching
\{-n,} (at least n) non-greedy matching