store regex as strings and parse on read