just use one match block for twitter urls and decide if there is an id or not based off that