mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-20 07:51:20 +02:00
Official 1Password Template Function (#305)
This commit is contained in:
@@ -335,7 +335,7 @@ impl Parser {
|
||||
while self.pos < self.chars.len() {
|
||||
let ch = self.peek_char();
|
||||
let is_valid = if start_pos == self.pos {
|
||||
ch.is_alphabetic() || ch == '_' // First is more restrictive
|
||||
ch.is_alphanumeric() || ch == '_' // The first char is more restrictive
|
||||
} else {
|
||||
ch.is_alphanumeric() || ch == '_' || ch == '-'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user