Irregular Expressions
by in Feature Articles on 2005-11-30It's a pretty common occurrence to see a programmer completely disregard regular expressions, instead implementing his own validating code. A handful of the Do-It-Your-Selfers will even implement their own substring searching algorithm with all sorts of varieties of loops and the like. David Conrad's colleague managed to not only skip the built-in parseFloat method, but use regular expressions, an array, and a loop to do so ...