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

escape mechanism issue for multiple dollar signs in a single symbol #2097

Open
porres opened this issue Oct 4, 2023 · 1 comment
Open

escape mechanism issue for multiple dollar signs in a single symbol #2097

porres opened this issue Oct 4, 2023 · 1 comment

Comments

@porres
Copy link
Contributor

porres commented Oct 4, 2023

If I do [symbol \$0-x-\$1], it works, but both need to be escaped. If I try to escape just one of them, the escaping mechanism disappears for the other one. Like, if I escape just "$0", it gets ignored. I don't remember now why I needed this, but I did need it and had to do something else instead.

@umlaeute umlaeute changed the title escape mechanism issue for multiple dollar signs escape mechanism issue for multiple dollar signs in a single symbol Oct 4, 2023
@umlaeute
Copy link
Contributor

umlaeute commented Oct 4, 2023

here's a patch that illustrates the problem:

#N canvas 100 100 450 300 12;
#X obj 226 124 print foo\$0;
#X obj 226 149 print foo\\\$0;
#X obj 226 174 print foo-\$0-\$0;
#X obj 226 199 print foo-\\\$0-\\\$0;
#X obj 226 224 print foo-\\\$0-\$0;
#X obj 226 249 print foo-\$0-\\\$0;
#X msg 100 48 bang;
#X obj 100 12 inlet;
#X obj 100 73 t a a a a a a;
#X connect 6 0 8 0;
#X connect 7 0 6 0;
#X connect 8 0 5 0;
#X connect 8 1 4 0;
#X connect 8 2 3 0;
#X connect 8 3 2 0;
#X connect 8 4 1 0;
#X connect 8 5 0 0;

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

2 participants