Fixed name parsing result issues with improper regex patterns being used.