We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8bff72 commit 7898f9fCopy full SHA for 7898f9f
src/pre_tokenizer.cpp
@@ -78,7 +78,7 @@ PreTokenizerConfig& PreTokenizerConfig::parse_json(const json& json_config) {
78
type = json_config.at("type");
79
if (type == "Split") {
80
try {
81
- pattern = json_config.at("pattern");
+ pattern = json_config.at("pattern").at("Regex");
82
} catch (json::out_of_range&) {
83
}
84
} else if (type == "Digits") {
0 commit comments