You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the syntax r"abc.*efg" or similar. LALRPOP uses this syntax. Raw strings (r"") are equivalent to ordinary strings in Rust code, but here we give them special meaning. The downside is that using raw strings like this may seem weird. The upside is that raw strings containing backslashes work as expected, and we can pass them directly to the regular expression parser.
The text was updated successfully, but these errors were encountered:
So far, only strings can be embedded.
Use the syntax
r"abc.*efg"
or similar. LALRPOP uses this syntax. Raw strings (r""
) are equivalent to ordinary strings in Rust code, but here we give them special meaning. The downside is that using raw strings like this may seem weird. The upside is that raw strings containing backslashes work as expected, and we can pass them directly to the regular expression parser.The text was updated successfully, but these errors were encountered: