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

Escaping double-quotes results in error #263

Closed
andrewvaughan opened this issue Feb 10, 2022 · 1 comment
Closed

Escaping double-quotes results in error #263

andrewvaughan opened this issue Feb 10, 2022 · 1 comment

Comments

@andrewvaughan
Copy link

Currently, when trying to escape a quote as-documented, an error occurs. For example:

# This will fail
Assert(False, e"Test \"quoted string\" should work")

# This will also fail
Eval("""
    Eval(e"colorbars = ColorBars(720, 480, \"YUY2\")")
""")

The latter example prevents from nesting conditionals or calling any Eval methods that require string parameters, as conditionals are currently implemented.

The error that occurs in both cases is similar to:

Script error: expected a , or )
@pinterf
Copy link

pinterf commented Feb 10, 2022

Thanks for the report.

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

No branches or pull requests

2 participants