evaluates with multiple nested brackets.