For example, `{{}` is not handled properly for `IsOpenBrace`function.