Women in Technology

Hear us Roar



Article:
  An Introduction to Haskell, Part 1: Why Haskell
Subject:   regex
Date:   2007-05-26 02:04:01
From:   pipping
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'


kind regards!