Extended regexp for internal links

Allow uppercase letters and underscore in internal links