No underscore!
This commit is contained in:
parent
f1da9b2117
commit
5a18642cd6
|
@ -117,7 +117,7 @@ pub enum Token {
|
|||
Integer(isize),
|
||||
|
||||
/// An identifier
|
||||
#[regex(r"[\p{XID_Start}|_][\p{XID_Continue}]*", get_ident)]
|
||||
#[regex(r"\p{XID_Start}[\p{XID_Continue}]*", get_ident)]
|
||||
Identifier(String),
|
||||
|
||||
#[regex(r"owo .*")]
|
||||
|
|
Loading…
Reference in a new issue