||An Introduction to Haskell, Part 1: Why Haskell|
Response to: regex
that came out wrong. i meant to say 'the above regex could be written differently, possibly resulting in optimization - forced optimization in the latter case, which might even be bad if the optimization is already present. however, '^N(YC?|ew York( City)?)$' will in any case be at least as fast as the original regex, the only downside could be decreased readability'