{ is special to the regex engine. See perlre.
You might want to replace your literal { with \{ or [{].
In reply to Re: ERROR ... nested quantifiers in regex
by Corion
in thread ERROR ... nested quantifiers in regex
by ŞuRvīvőr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |