def getone(regex_string, limit=20):
 return _randone(parse(regex_string), limit)

def getone ( regex_string , limit = 20 ) : return _randone ( parse ( regex_string ) , limit )
returns a random matching string to a given regular expression .