Fix regex in sharing to adapt to different site names.