Improved DIRECT_LINK_PATTERN