mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-04 10:47:38 +02:00
* move string_find_partial_stop & string_ends_with to common * add common_regex (supports partial matches) Co-authored-by: Georgi Gerganov <[email protected]> * Update common/regex-partial.cpp Co-authored-by: Georgi Gerganov <[email protected]> * Update common/regex-partial.cpp Co-authored-by: Georgi Gerganov <[email protected]> * Update common/regex-partial.h Co-authored-by: Georgi Gerganov <[email protected]> * partial regex: add missing iterator end checks * string utils: use string_views * direct throw to avoid ggml.h include * regex-partial: replace missed ggml_asserts --------- Co-authored-by: ochafik <[email protected]> Co-authored-by: Georgi Gerganov <[email protected]>