in reply to Regex /g and interpolated lengths

To see what you're talking about, we need the value of $_ $allseq that you're working with, and also the value of $len.

Caution: Contents may have been coded under pressure.