Satisfaction of “It Just Worked”
Following on from something I read on Jeremy Zawodny’s blog, yesterday I was writing some regular expressions that would identify a file type for me. Sometimes I find regular expressions really tortuous and I was doing this code in C#, which is only something I’ve started using very recently. However, the code I wrote correctly recognised all 4 different types of files on the first run. Wow, that feels good.
Tags: c#, development