Skip to content

Instantly share code, notes, and snippets.

@telendt
Created September 19, 2012 21:49
Show Gist options
  • Save telendt/3752529 to your computer and use it in GitHub Desktop.
Save telendt/3752529 to your computer and use it in GitHub Desktop.
Regex Tuesday Challenge
http://callumacrae.github.com/regex-tuesday/challenge1.html?find=%2F%5Cb(%5CS%2B)(%5Cs)(%5C1)%5Cb%2Fgi&replace=%241%242%3Cstrong%3E%243%3C%2Fstrong%3E
# TODO: complete hsl(a)
http://callumacrae.github.com/regex-tuesday/challenge2.html?find=%2F%5E(%3F%3A%23(%5B%5Cda-f%5D%7B1%2C2%7D)%5C1%5C1%7Crgb%5C(%5Cs*0*%3F(%5Cd%2B(%3F%3A%5C.%5Cd%2B)%3F%25%3F)%2C%5Cs*0*%5C2%2C%5Cs*0*%5C2%5Cs*%5C)%7Crgba%5C(%5Cs*0*%3F(%5Cd%2B(%3F%3A%5C.%5Cd%2B)%3F)%2C%5Cs*0*%5C3%2C%5Cs*0*%5C3%5C%2C%5Cs*%5C0*(%3F%3A0(%3F%3A%5C.%5Cd%2B)%3F%7C1)%5Cs*%5C)%7Crgba%5C(%5Cs*0*%3F(%5Cd%2B%25)%2C%5Cs*0*%5C4%2C%5Cs*0*%5C4%5C%2C%5Cs*%5C0*(%5Cd%2B%25)%5Cs*%5C))%24%2Fi
http://callumacrae.github.com/regex-tuesday/challenge3.html?find=%2F%5E(1%5Cd%7B3%7D%7C20(0%5Cd%7C1%5B0-2%5D))%5C%2F(0%5B1-9%5D%7C1%5B0-2%5D)%5C%2F(0%5B1-9%5D%7C%5B12%5D%5Cd%7C30)%20(%5B01%5D%5Cd%7C2%5B0-3%5D)(%3A%5B0-5%5D%5Cd)%7B1%2C2%7D%24%2F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment