Fix unescaped meta char in regex

It's intended to match a literal `{`, but that must be escaped as it's a meta character in JS regex.