LoginSignup
2
2

More than 5 years have passed since last update.

Vimで「数値にコンマ」をやってみた

Last updated at Posted at 2014-06-30

『詳説 正規表現』(第3版)2.3.5の「先後読みによって数値にカンマを付け加える」をやってみた。Vimでは後置修飾なんだな。
s/\d\@<=\(\(\d\{-3}\)\+\d\@!\)\@=/,/g

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2