handle attributes that contain `[` and `]`  (Issue #7)

I added a spec for containing the expression in the issue and the specs passed.

The regex might be a little too permissive -- I used ".*" inside of `[` and `]`.

Thoughts?