change regexp for variable braces