Is there a way to build a combination of strings that matches a given regex. I was trying to think of this from a while and looking in for inputs / suggestions on this.
for example if I give a regex like this
reg : r'[ac][co]{1,2}o[unt]{1,3}'
output : ['account', 'ccoount', 'accoun', 'accout', 'accont']