Fixes to regexes

It looks like several regexes dealing with spaces around brackets were buggy. Also, several regexes had multiple spaces within [ ] character class brackets. I assume that it was originally a tab and a space, and that a tab-to-spaces command was done at some point which caused the tab to be expanded to two spaces.