Hi
I have a rather simple question: after loading an entire file into a string (with file slurp), I want to substitute all expressions of type func1(x, "text %f and %f...", "hello") for the exception of some of the type func1(x, "%f", "hello"). I'm trying $data =~ s/func1(x, \"[^%](.*)/text/gi; But some of the first type are not being substituted (I think because of the wrong place of [^%]. Any help is apreciated.
Kind regards, Kepler
In reply to Substitute strings by kepler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |