http://www.perlmonks.org?node_id=525393


in reply to Mismatch Positions of Ambiguous String

As a first try, i would just permutate your ambiguose string producing all possible strings, then do your bitwise comparrison of all source strings vs the target string and take the lowest resulting score, this may not scale well , depending on the size of your ambigous string.



This is not a Signature...