-
Notifications
You must be signed in to change notification settings - Fork 57
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
Backslashes and : function #173
Comments
Try |
Hey sorry to ask this Isacc, I think pyth is super cool and I really like On Thursday, January 14, 2016, Ryan Gonzalez notifications@github.com
Ashwin |
Sorry, I don't know github well enough. |
@kirbyfan64 Thanks for the workaround, but the bug still stands. |
That's okay thanks. I'll figure it out I'm sure there is a way. On Friday, January 15, 2016, Raumaan Kidwai notifications@github.com
Ashwin |
This is not a bug - this is just how Python's regex package works. You need to have two layers of escaping - one for Pyth, one for regex. |
Btw, you can change it in your github settings (you'll have to login once more). Just go to notifications, and uncheck the email boxes (IIRC). PS: started learning Pyth today, loving it already :D. Not quite as powerful as J or APL, but great for its golfing niche. |
The backslash doesn't seem to cope well with string replacements using the : function. The bug is shown here: https://pyth.herokuapp.com/?code=%22%5C%5Chi%22%0A%3A+%22%5C%5Chi%22+%22h%22+%22i%22%0A%3A+%22%5C%5Chi%22+%22%5C%5C%22+%22i%22&debug=0
The full error message is:
The text was updated successfully, but these errors were encountered: