I am trying to parse the following data for gap(-) counts and their positions:
I am usingKPHVNVGTIGHVDHGKTTL-------AISHVLAKTYGGEAKDFSQ--------IDNAP KPVLNVAFIGHVDAGKSTTVGRLLLDSGTIDPQIIERLKREASEKGKAGFEFAYVMDGLK
to catch the positions of the /-+/.$qgapstart= $-[0]; $qgapend= $+[0];
My Question is :it reads only TL-------AAI and skips FSQ--------IDN occuring in the same line.
How do i do recursive search for a pattern withinn the same line.
Please help me.In reply to Regex Help by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |