Fixing the regex for WP links to match more types and to correctly capture the title