Help for this page
use strict; use warnings; ... $test =~ /(a(bc?)?)(??{push @matches, $^N})(?!)/; print "@matches\n";