mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-06-01 16:10:42 +00:00
Test.
This commit is contained in:
@@ -49,6 +49,7 @@ use crate::TantivyError;
|
||||
pub struct RegexTokenizer {
|
||||
regex: Regex,
|
||||
token: Token,
|
||||
group: usize,
|
||||
}
|
||||
|
||||
impl RegexTokenizer {
|
||||
@@ -59,6 +60,7 @@ impl RegexTokenizer {
|
||||
.map(|regex| Self {
|
||||
regex,
|
||||
token: Token::default(),
|
||||
group: 0,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user