in reply to Mismatch Positions of Ambiguous String
Then you can apply each character or group in the target as a regex to the source. The answer should be the same if as in examples they are the same length.target = [ACT]GCTATC[GC] source = TGCTATCA
|
|---|