Regex logic bug fix
Regex logic bug fix