in reply to Ode to Death to Dot Star
And also not have b0rken regex in the first place$line =~ s/wordone\s*\((.*)\)\;//wordtwo\:$1\;/s
You're escaping characters that don't need to be escaped (i.e non-alphanumeric non-meta-characters <pant> <pant> ;).$line =~ s/wordone\s*\((.*)\);/wordtwo:$1;/s;
broquaint
|
|---|