in reply to Re: grep regex exact match last n positionsin thread grep regex exact match last n positions
print grep {substr($_, -length($search)) eq $search} @array; [download]