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

Prune/remove quoted verbatim strings #143

Closed
JarrettBillingsley opened this issue Nov 7, 2014 · 1 comment
Closed

Prune/remove quoted verbatim strings #143

JarrettBillingsley opened this issue Nov 7, 2014 · 1 comment
Assignees

Comments

@JarrettBillingsley
Copy link
Owner

Now that the Lua-like block verbatim strings are in, the quoted verbatim strings are less useful. I originally had three kinds just so you could pick a different quote character from the string contents, but four kinds of verbatim strings seems a bit excessive now.

I do like the low visual impact of the quoted verbatim strings though.

Regex([=[\bhello\b]=])
Regex(@'\bhello\b')

The latter seems more readable to me than the former.

So maybe the backtick strings can be dropped and then there'll only be single- and double-quote strings, which makes a nice counterpart to single- and double-quoted regular strings.

@JarrettBillingsley
Copy link
Owner Author

Also, the "double-quote escaping" thing should probably go too. It's hard to explain, annoying to lex/highlight, and since there are block verbatim strings for longer text, not too useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant