Said this,
what is that "N"?!? Didn't you say that your string only contains the letters ACGT?my $regex = qr/ N+ | (?: (?=$allowed) . )* . /x;
"match zero or more occurrencies of a group composed by an allowed sequence and any charachter followed by (another) any charachter (without including the allowed sequences in the match)."Is this what that you really want?
In reply to Re: How to remove Newline
by blazar
in thread How to remove Newline
by Benson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |