typo'ed the regex substitution