Sunday, September 20, 2009

I know regular expressions


Wait, forgot to escape a space. Wheeeeee[taptaptap]eeeeee.
http://xkcd.com/208/


I created my first regular expression today. I still don't 'know' regular expressions, but after working this one out, I don't think I really want to. It's nice to know the basics though, so I can work one out when I need to. First I'll work on just being able to read the one I've written, it takes a little while to break it up into each functional piece in my mind.

Does it make me a superhero? No. Could it help me fight crime one day? Yes, but not likely.
Something about the algorithm.

No comments: