Fixed pretty display styling edge cases.

Now correctly handles function calls like $foo() where the
Rainbow syntax highlighting caused the previous regex
not to match. Also now correctly handles start-of-line.