Hi all,<br>
<br>
Given some patterns such as "...t...s." I need to make all possible
combinations given a separate list for each position. The length of the
pattern is fixed to 9, so thankfully that reduces a bit of the
complexity.<br>
<br>
For example I have the following:<br>
<br>
pos1 = ['a',' t']<br>
pos2 = ['r', 's']<br>
pos3 = ['n', 'f']<br>
<br>
So if the pattern contains a '.' character at position 1 it could be
'a' or 't'. For the pattern '.s.' (length of 3 as example) all combinations would be:<br>
<br>
asn<br>
asf<br>
tsn<br>
tsf<br>
<br>
Thanks