- refactored port regex to match new configs