Now uses regular expressions to parse outdated formulas.