Skip to content

Instantly share code, notes, and snippets.

@Davidebyzero
Created March 24, 2014 06:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Davidebyzero/9735222 to your computer and use it in GitHub Desktop.
Save Davidebyzero/9735222 to your computer and use it in GitHub Desktop.
Continued discussion of Regex Golf Bonus Levels and mathematical regexes (SPOILERS! SPOILERS!)
@Davidebyzero
Copy link
Author

Davidebyzero commented Feb 7, 2019

Wow! 57 chars. That's incredible. I don't want you to just show it to me right away though; I'd like some time to try to figure it out. Can't work on it right away but I plan on it. I would indeed like to see them, please!

I did have an idea on how to make my floor-logarithm regexes much shorter. It did a little worse than the technique I already used, and frankly I'm very happy about that. The one I'd already used is much more interesting, and the one I just now tried would trivialize it if it did better.

And I'm also quite impressed to see that 76-57=19, a smaller difference than my 93-69=24.

@Davidebyzero
Copy link
Author

This discussion has been continued in the Mathematical Regexes Stack Exchange chat room.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment