Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedded regexes #18

Open
pczarn opened this issue May 21, 2016 · 0 comments
Open

Embedded regexes #18

pczarn opened this issue May 21, 2016 · 0 comments
Labels

Comments

@pczarn
Copy link
Owner

pczarn commented May 21, 2016

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.

@pczarn pczarn added the ready label Aug 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant