Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -le
    "print pop @{[ 'hello awesome' =~ /(el).*(om)/ ]};
    "
    om
    
  2. or download this
    >perl -wMstrict -le
    "'hello awesome' =~ /(?<m>el).*(?<m>om)/;
     print $-{m}[-1];
    "
    om