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

Hex literals containing "c" are not evaluated correctly? #39

Closed
clnhlzmn opened this issue Sep 4, 2024 · 3 comments
Closed

Hex literals containing "c" are not evaluated correctly? #39

clnhlzmn opened this issue Sep 4, 2024 · 3 comments

Comments

@clnhlzmn
Copy link

clnhlzmn commented Sep 4, 2024

image

I'm not sure what is going on here. Perhaps related to #23?

Just writing this down for now. I'll try to take a deeper look in a day or two and maybe I can figure out what's up.

@clnhlzmn
Copy link
Author

clnhlzmn commented Sep 4, 2024

Yeah indeed that is the problem. I'm ok with a workaround of disabling the temperature shortcuts for now.

Specifically this regex appears to match things like these hex literals containing "c", in some cases.

image

@nortakales
Copy link
Owner

I think I found a suitable regex replacement. It passes my current tests, and fixes hex strings. We'll see if anyone reports a different issue after the update 😅

@nortakales
Copy link
Owner

Fixed in 0.4.1

59c16cd

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