Add test for braces in a regex match
Fix braces in a regex match