$text =~ m/$str/;