String::Incremental#re: generates regexp based on its structure.