优化代码

This commit is contained in:
刘祥超
2022-09-18 16:18:31 +08:00
parent 64b1753c4d
commit a81d610302
19 changed files with 10 additions and 115 deletions

View File

@@ -11,7 +11,6 @@ import (
)
var prefixReg = regexp.MustCompile(`^\(\?([\w\s]+)\)`) // (?x)
var prefixReg2 = regexp.MustCompile(`^\(\?([\w\s]*:)`) // (?x: ...
var braceZeroReg = regexp.MustCompile(`^{\s*0*\s*}`) // {0}
var braceZeroReg2 = regexp.MustCompile(`^{\s*0*\s*,`) // {0, x}