diff options
-rw-r--r-- | src/token.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/token.rs b/src/token.rs index 83e6c41..5109ce1 100644 --- a/src/token.rs +++ b/src/token.rs @@ -33,7 +33,7 @@ impl Default for TokenPatterns { fn default() -> Self { Self { plain: Regex::new(r#"(?P<value>[^\[]+)"#).unwrap(), - word: Regex::new(r#"[-._/[:alpha:][:digit:]]+"#).unwrap(), + word: Regex::new(r#"[-.:_/[:alpha:][:digit:]]+"#).unwrap(), spaces: Regex::new(r#"([[:space:]]|\n)+"#).unwrap(), single_quoted: Regex::new(r#""(?P<value>(.|\n)*?)""#).unwrap(), triple_quoted: Regex::new(r#""""(?P<value>(.|\n)*?)""""#).unwrap(), |