Handle port in regex :scream: with tests :wrench: