forked from AbleScript/ablescript
Revert "Added emoji support for identifiers"
This reverts commit 167a5077df
.
This commit is contained in:
parent
18943f184d
commit
1781a66c3a
|
@ -126,7 +126,7 @@ pub enum Token {
|
||||||
Char(char),
|
Char(char),
|
||||||
|
|
||||||
/// An identifier
|
/// An identifier
|
||||||
#[regex(r"[\p{XID_Start}|\p{Emoji}][\p{XID_Continue}|\p{Emoji}]+", get_ident)]
|
#[regex(r"\p{XID_Start}[\p{XID_Continue}]+", get_ident)]
|
||||||
#[token("and ", |_| "and".to_owned())]
|
#[token("and ", |_| "and".to_owned())]
|
||||||
Identifier(String),
|
Identifier(String),
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue