Update regex to support internal github mirror