Fixed faulty regex which was failing over InPort and InPorts as they dont have Offset
final not really hahahahah