I use this regular expression to search for patterns in the genome.
$string =~ /(?i)a+t?|(?i)t+/g
To make it easier to read, I would like to change it so that it absorbs everything that matches, from 4 to 7 characters. Also, it should not spoil the variables $+[0] or $-[0] .
the way I conclude is to get a substring from a larger string file based on "$ + [0]" and "$ + [0]", I donβt want to print regular expressions I print huge lines of proofreaders, and I want matches stood out.
If you really need to see the code I'm working on, you can get it here
Orion source share