what do you want to achieve with the curly brace? It is a regex character so you can't just add it. If you want to match on it, you should escape it and perhaps even put it within the quotes. You can always test your regex in online tools like regex101 or regexr or ... very handy