fixes for regex for twitter link merging issue