See perlre on the regex meta characters and potentially quotemeta.
If you know the length of your fixed size target match, the size of the overlap will always be the length of your fixed size target match. If this some school homework, you want to read perlre again, and perlvar on the match variables.
In reply to Re: string problem
by Corion
in thread string problem
by nicholaspr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |