How about we use single quote to support a broader set of DSL literals? We can use the character next to the opening/closing quote to determine the literal DSL syntax. In the case of regex, we can use '/
as opening and /'
as closing. Then we could have a different DSL literal that uses something like '<
and >'
as opening and closing tokens.
3 Likes