But IIUC, the pattern to be searched for may be broken across multiple lines. How would your code handle, e.g., the record:
(assuming we're now dealing with kosher FASTA files)?.>AAF88103.1 zinc finger protein 226 [Homo sapiens] AAAAAAAAAAAAAACDECGKEFSQ GAHLQTHQKVHZZZZZZZZZZZ
Give a man a fish: <%-{-{-{-<
In reply to Re^2: Finding pattern in a file
by AnomalousMonk
in thread Finding pattern in a file
by shabird
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |