in reply to Solved - Re^2: strings contain regular expression characters
in thread strings contain regular expression characters

We can use ' or q() as well.. quotemeta was absolutely right option
  • Comment on Re: Solved - Re^2: strings contain regular expression characters