Refactored a bit, adding 'randexp' gem for generating from regex.