Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Funny, I thought I was getting back inside the box by using a simple regex. :-) I've never been totally comfortable with the zero-width assertions, because logically it seems to me that that should keep matching in the same spot. If zero-width really means zero-width, the next match should start at the same point and match the same string again, shouldn't it? I guess the semantics of it just bug me. I feel like I should have to use something like this to make sure it advances a character: m[([ACGT](?=[ACGT]{6}))];Anyway, I'm impressed that the regex does as well as it does, considering how simple it was to implement. Aaron B. In reply to Re^6: counting the number of 16384 pattern matches in a large DNA sequence
by aaron_baugher
|
|