Fix regex result types

+2tests
Add slow port matching