More restrictive symbol matching

This change prevents brackets in collection literals from matching symbols so things that care (such as bracket matching via CodeMirror in the source code editor) can see them more easily.

As far as I can tell, there are no unit tests for the existing code, hence no unit tests for this change. The existing SUnit tests pass. I have tested this change manually.