Fix issue #1

Fixes #1.

The solution I chose was to make string literals a possible sub-pattern in attributes.
I also updated `test.rs` accordingly.