BODY rule fails with double-spaced text
by Larry M. Rosenbaum other posts by this author
Dec 14 2006 7:31AM messages near this date
How to get SA ...
|
Re: BODY rule fails with double-spaced text
The doc for BODY rules says "All HTML tags and line breaks will be
removed before matching". I was also told on this list that multiple
whitespace was compressed to single space characters. So if I have text
like this:
xyzzy
abcde
and the following rules:
body T_LMRTESTB1 /xyzzy abcde/
body T_LMRTESTB2 /xyzzy\s{1,4}abcde/
then both rules will match. However, if the text is double-spaced like
this:
xyzzy
abcde
then *neither* rule will match, even though I would have expected them
both to still match. Is this a designed feature or a bug?
Thread:
Larry M. Rosenbaum
Loren Wilton
Theo Van Dinter
|