Help for this page

Select Code to Download


  1. or download this
    next if $line !~ /$patterns{$key}->{regex}/;
    my @captures = map {substr $line, $-[$_], $+[$_] - $-[$_] + 1} 1..$#-;
    
  2. or download this
    my @captures = $line =~ /$patterns{$key}->{regex}/
      or next;