On Tue, 7 Jul 2009, Charles Gregory wrote:
On Tue, 7 Jul 2009, Charles Gregory wrote:
I have tried all combinations of:
body LOC_09070701 /^Assets of my deceased Client/
body LOC_09070702 /^Assets of my deceased Client/m
body LOC_09070703 /^Assets of my deceased Client/ms
And NONE of them match the beginning of line!
Sorry. I started typing this in the afternoon then got called away from
the keyboard. Hope I didn't waste too many people's time....
Bottom line: I need to RTFM more *literally*. The man itself says,
of the 'body' test, that all line breaks are "removed before matching".
So strictly speaking, there is way to make the 'body' test match
a string anchored to the beginning of a line. To achieve the desired
result, we need to use a 'rawbody' test with the m option (but NOT
the s option!). Yes, this means that we might have to code the
regex to handle some HTML.... (sigh)
So the desired test is:
rawbody LOC_09070702 /^Assets of my deceased Client/m
- Charles