Closed gnclmorais closed 3 months ago
I’m looking to port CEL into a Lezer perser but I’m struggling to understand something on the lexis:
STRING_LIT ::= [rR]? ( " ~( " | NEWLINE )* " | ' ~( ' | NEWLINE )* ' | """ ~"""* """ | ''' ~'''* ''' )
What does the tilde-asterisk (~XXX*) combo mean?
~XXX*
It means negation (so include anything up until the closing """ for a multiline string in that case).
I’m looking to port CEL into a Lezer perser but I’m struggling to understand something on the lexis:
What does the tilde-asterisk (
~XXX*
) combo mean?