The idea is exactly the same as my OP, only this time those characters under brackets [] is also considered as mismatch possibilities.$str = '[TCG]TTCG[AT]';
In reply to Re^2: Finding Neighbours of a String
by monkfan
in thread Finding Neighbours of a String
by monkfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |