join '|', map quotemeta($_), keys %stuff; # or join '|', map "\Q$_\E", keys %stuff; # \E not needed [download]
In reply to Re: Regex by japhy in thread Regex by premchai21