fixed bug in result_re needed IGNORECASE, and also RESULT() declaration needed to be strip()'d