Help for this page
/^(?:.*?\Kregex){<n>}/
# only Perl 5.10+ my $a; ... abc x abc y abc z ___ abc x ___ y abc z ___ ___ x ___ y ___ z ___