In reply to Re: Regexp swapping with unmatched brackets by ysth in thread foreach loop mistake with key as regexp by cosmicperl