A dynamic memory allocation for the SANEMORPHISM regex.