Think about Loose Coupling | |
PerlMonks |
Re^3: Perl regular expression for amino acid sequenceby BrowserUk (Patriarch) |
on Dec 01, 2004 at 21:33 UTC ( [id://411583]=note: print w/replies, xml ) | Need Help?? |
I didn't read the question that way, but now you've pointed it out, yours could be, and probably is the more correct interpretation. If the regex engine wouldn't insist that, any reference to a previous capture, in a negative look-behind assertion, *must* be variable length (and therefore disallowed), even when the brackets referenced can only, and must, capture exactly one char. Then it would be easy to fix this to meet your interpretation of the problem. Alas it does, so there isn't :) I cannot see fix at the moment. Examine what is said, not who speaks.
"But you should never overestimate the ingenuity of the sceptics to come up with a counter-argument." -Myles Allen"Think for yourself!" - Abigail "Time is a poor substitute for thought"--theorbtwo "Efficiency is intelligent laziness." -David Dunham "Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon
In Section
Seekers of Perl Wisdom
|
|