attempting to refactor getCCtypeASAP to regex, not if-elseifs