fix copy and paste error in regex code causing mishandling of \) in BRE