mirror of
https://github.com/bspeice/dtparse
synced 2026-01-08 21:20:28 -05:00
Redo the tokenization
Still has issues with one test case for fuzzy
This commit is contained in:
committed by
Bradlee Speice
parent
9135962839
commit
e049618fff
@ -87,7 +87,7 @@ type ParseResult<I> = Result<I, ParseError>;
|
||||
type ParseIResult<I> = Result<I, ParseInternalError>;
|
||||
|
||||
pub fn tokenize(parse_string: &str) -> Vec<String> {
|
||||
let tokenizer = Tokenizer::new(parse_string.to_owned());
|
||||
let tokenizer = Tokenizer::new(parse_string);
|
||||
tokenizer.collect()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user