Perl Monk, Perl Meditation | |
PerlMonks |
Re^5: Filter and writing error log fileby choroba (Cardinal) |
on Jul 23, 2014 at 13:52 UTC ( [id://1094791]=note: print w/replies, xml ) | Need Help?? |
See perlre. The carret negates the class, so the regular expression matches non-ACTG characters, but I used !~ to negate that. It's like the difference between
"The sequence doesn't contain invalid characters" and "The sequence contains valid characters" These two are not equivalent, as the second lacks the work "only".
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|