Adds regex port matching and improved support for running status.