This commit is contained in:
2022-12-02 15:05:32 +01:00
commit 09b5fc0de6
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
let @a=":s/(/+1/g␍:s/)/-1/g␍ggVd:put =eval(@@)␍"
+3
View File
@@ -0,0 +1,3 @@
let @z=":%s/(\\([^)]*\\))/+1\\1+1/g␍\e"
let @a="10000@z"
let @b=":%s/).*$/+1/␍ggVd:put =eval(@@)␍"