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
2023-02-14 10:18:02 +08:00
..
node_fuzz_test.go Feature/trie ac automation (#1479) 2022-01-25 11:14:56 +08:00
node_test.go refactor: simplify stringx.Replacer, and avoid potential infinite loops (#2877) 2023-02-14 10:18:02 +08:00
node.go refactor: simplify stringx.Replacer, and avoid potential infinite loops (#2877) 2023-02-14 10:18:02 +08:00
random_test.go initial import 2020-07-26 17:09:05 +08:00
random.go fix golint issues in core/stringx (#516) 2021-02-24 16:09:07 +08:00
replacer_fuzz_test.go chore: add more tests (#2866) 2023-02-11 14:21:39 +08:00
replacer_test.go refactor: simplify stringx.Replacer, and avoid potential infinite loops (#2877) 2023-02-14 10:18:02 +08:00
replacer.go refactor: simplify stringx.Replacer, and avoid potential infinite loops (#2877) 2023-02-14 10:18:02 +08:00
strings_test.go feat: add stringx.ToCamelCase (#2622) 2022-11-20 17:41:39 +08:00
strings.go feat: add stringx.ToCamelCase (#2622) 2022-11-20 17:41:39 +08:00
trie_test.go chore: optimize string search with Aho–Corasick algorithm (#1476) 2022-01-23 23:37:02 +08:00
trie.go chore: optimize string search with Aho–Corasick algorithm (#1476) 2022-01-23 23:37:02 +08:00