in reply to Re: regexp $1 in a variablein thread regexp $1 in a variable
... $c='"a$1"'; ... $a =~ s/$b/$c/eeg ; ... [download]