Add # and ' to regex for non-module reference searches and type inspection expander. Fixes #6.