♻️ 一些字符串操作函数移到 Gulu 项目里

This commit is contained in:
Liang Ding 2022-06-11 11:32:00 +08:00
parent bb2fafccb1
commit c03fba9ff7
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
8 changed files with 15 additions and 111 deletions

View file

@ -17,12 +17,12 @@
package treenode
import (
"github.com/88250/gulu"
"github.com/88250/lute/lex"
"github.com/siyuan-note/siyuan/kernel/util"
)
func ContainsMarker(str string) bool {
if !util.IsASCII(str) {
if !gulu.Str.IsASCII(str) {
return false
}