in reply to Regex: return the pattern instead of the actual match
my $matching_pattern = /$pattern/ && $pattern; [download]