Escape curly braces in regex