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

rc2nix string literal is not escaped #13

Open
luochen1990 opened this issue Mar 28, 2023 · 1 comment
Open

rc2nix string literal is not escaped #13

luochen1990 opened this issue Mar 28, 2023 · 1 comment

Comments

@luochen1990
Copy link
Contributor

I find following contents in the output of rc2nix:

"khotkeysrc"."Data_3Conditions0Window0"."Class" = "^konqueror\s";

and try "^konqueror\s" in nix repl will give you "^konquerors", which might cause error (I'm not sure)

@pjones
Copy link
Collaborator

pjones commented Mar 28, 2023

You are correct, this looks like a bug in rc2nix. It should properly escape the string but doesn't.

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