I
Ivan Marsh
Hey Folks,
This isn't actually a perl question but since you folks ar the regex
experts I thought you might be able to help.
I want to do a search and replace in my text editor (that supports regex)
for any line that begins with print( and ends with "); and replace the
ending "); with \n"); where the line doesn't alredy end in \n");
ex:
print("foo");
becomes:
print("foo\n");
Thanks.
This isn't actually a perl question but since you folks ar the regex
experts I thought you might be able to help.
I want to do a search and replace in my text editor (that supports regex)
for any line that begins with print( and ends with "); and replace the
ending "); with \n"); where the line doesn't alredy end in \n");
ex:
print("foo");
becomes:
print("foo\n");
Thanks.