Simplified symbol regex by @nikic, support for #: in symbols, more test cases