Escaping non printing sequences with brackets instead of curly braces