modified regular expressions in mongo genetator.