fix literal braces in regexp