You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-zero/core/stringx
Kevin Wan cddf3875cf
refactor: simplify stringx.Replacer, and avoid potential infinite loops (#2877)
* simplify replace

* backup

* refactor: simplify stringx.Replacer

* chore: add comments and const

* chore: add more tests

* chore: rename variable
2 years ago
..
node.go refactor: simplify stringx.Replacer, and avoid potential infinite loops (#2877) 2 years ago
node_fuzz_test.go Feature/trie ac automation (#1479) 3 years ago
node_test.go refactor: simplify stringx.Replacer, and avoid potential infinite loops (#2877) 2 years ago
random.go fix golint issues in core/stringx (#516) 4 years ago
random_test.go initial import 4 years ago
replacer.go refactor: simplify stringx.Replacer, and avoid potential infinite loops (#2877) 2 years ago
replacer_fuzz_test.go chore: add more tests (#2866) 2 years ago
replacer_test.go refactor: simplify stringx.Replacer, and avoid potential infinite loops (#2877) 2 years ago
strings.go feat: add stringx.ToCamelCase (#2622) 2 years ago
strings_test.go feat: add stringx.ToCamelCase (#2622) 2 years ago
trie.go chore: optimize string search with Aho–Corasick algorithm (#1476) 3 years ago
trie_test.go chore: optimize string search with Aho–Corasick algorithm (#1476) 3 years ago