The original file has a space after .htm and THEN a newline, so when I tried to match using \b, it didn't match, even though it would work if using the values themselves
And it was just to match this 'dp198076_424b2-us2342673.htm' but NOT dp198076_exfilingfees.htm because it was the 2nd instance in the file.
I got it to work by putting
s/filingfees.htm/ /above the line to break the pattern on the (thankfully predictable) second matches.
In reply to Re^4: pattern matching once
by justin423
in thread pattern matching once
by justin423
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |