-
-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
I have a StringLiteral token with the following expressions on it:
#[regex(r#"(?:/(?:\\.|[^\\/])+/[a-zA-Z]*)"#)] // Regex literal
#[regex(r#"(?:"(?:(?:[^"\\])|(?:\\.))*")"#)] // " string literal "
#[regex(r#"(?:'(?:(?:[^'\\])|(?:\\.))*')"#)] // ' string literal '
And encountering a string literal above ~20,000 characters stack overflows within logos generated code
Is there an error in one of these expressions?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed