its nothing to do with the regex. its the algorithm and its suitability &#x27;any function containing test in its name&#x27; being a test is a stinky practice.<p>using something well defined is what i would expect from any programmer at any level.<p>this is what we call a &#x27;hack&#x27;... and its a particularly revolting one.