|
@@ -16,17 +16,19 @@ After :
|
|
|
SUMMARY:TP - CCUBE - C000
|
|
|
```
|
|
|
|
|
|
-## Shrink dash
|
|
|
+## Shrink first dash
|
|
|
|
|
|
-Command vim : `:%s/ - /,/g`
|
|
|
+Command vim : `:%s/ - \(.*\) \?\(-\?\) \?/,\1\2/g`
|
|
|
|
|
|
Before :
|
|
|
```
|
|
|
SUMMARY:TP - CCUBE - C000
|
|
|
+SUMMARY:CM - CCUBE
|
|
|
```
|
|
|
|
|
|
After :
|
|
|
```
|
|
|
-SUMMARY:TP,CCUBE,C000
|
|
|
+SUMMARY:TP,CCUBE - C000
|
|
|
+SUMMARY:CM,CCUBE
|
|
|
```
|
|
|
|