diff --git a/src/lib/shell/variables/mod.rs b/src/lib/shell/variables/mod.rs index 4133a31601174c5c16f7c9b16192e4affa7dccb8..7425360b390595f26b81fb7a97639d77f2e188e8 100644 --- a/src/lib/shell/variables/mod.rs +++ b/src/lib/shell/variables/mod.rs @@ -179,7 +179,7 @@ impl Variables { } pub(crate) fn is_valid_variable_character(c: char) -> bool { - c.is_alphanumeric() || c == '_' || c == '?' + c.is_alphanumeric() || c == '_' || c == '?' || c == '.' } pub fn strings<'a>(&'a self) -> impl Iterator<Item = Identifier> + 'a {