Fix to support I18n string contains "{" or "}" character

In current version, I18n string contains `{` or `}` character will be ignored. Modify regular expression to fix this problem.