mirror of
https://github.com/bspeice/dtparse
synced 2025-07-03 14:54:57 -04: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