initial commit

This commit is contained in:
2025-06-06 16:39:45 +02:00
commit 5c3d781822
13 changed files with 500 additions and 0 deletions

14
esc_seq.go Normal file
View File

@ -0,0 +1,14 @@
package logic
import "strings"
var EscSeqReplacer = strings.NewReplacer(
`\\`, `\`,
`\n`, "\n",
`\t`, "\t",
`\f`, "\f",
`\r`, "\r",
`\v`, "\v",
`\b`, "\b",
`\a`, "\a",
)