No underscore!

This commit is contained in:
Erin 2022-04-16 22:06:37 +02:00 committed by ondra05
parent 35caa085f8
commit c1bc0e8a96

View file

@ -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 .*")]