fix SF_AUTO_LINK_RE matches unexpected characters (fixes #3708, BP from #3289)