pull out repeated part of regex for finding the repo owner