Adding support for square bracket notation within query matches; Removing regex log from parseExpressions to handle opening and closing brackets;