|
I am writing a quick perl script to find all instances of "size" in a file and then delete that line. The problem is my regular expression also catches other lines where it has "size" but inside another word. For example, I want it to get rid of the line "Size: 4234" but not "Install-Size: 34234". Here is the code I have been working on: code:
|
# ¿ Mar 25, 2008 19:32 |
|
|
# ¿ May 8, 2024 01:29 |
|
Sartak posted:But that matches "Install-Size: 34234" which he doesn't want to be matched. I'd say a combination: Thanks, that one seemed to do the trick.
|
# ¿ Mar 27, 2008 01:07 |