Problem with FFIND

#1
Perhaps I don't understand how to use ffind with /E. However, I just
can't imagine why I get the results I do.

TCC 9.02.147 Windows XP [Version 5.1.2600]
TCC Build 147 Windows XP Build 2600 Service Pack 3

Topic "ffind.htm" last edited 4/27/2008.
/E"text" Search for a regular expression.

Topic "regularexpressionsyntax.htm" last edited 3/17/2008.
\s whitespace char
\D non decimal digit char
\W non word char

Why do I get infinite output here?

D:\>echo "one two">foo.txt

D:\>echo "one two" three>>foo.txt

D:\>*ffind /v /e"\s" foo.txt|*head

---- D:\foo.txt
"one two"
"one two" three
"one two" three
"one two" three
"one two" three
"one two" three
"one two" three
"one two" three
... forever

The same thing happens with \W or \D

--
2008 Fridays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Saturday.
Measure wealth by the things you have for which you would not take money.
 
#2
Why do I get infinite output here?

D:\>echo "one two">foo.txt

D:\>echo "one two" three>>foo.txt

D:\>*ffind /v /e"\s" foo.txt|*head

---- D:\foo.txt
"one two"
"one two" three
"one two" three
"one two" three
"one two" three
"one two" three
"one two" three
"one two" three
... forever

The same thing happens with \W or \D
Confirmed here (with PERL syntax).

I see another problem. While foo.txt certainly contains two newlines:

22 6f 6e 65 20 74 77 6f 22 0d 0a 22 6f 6e 65 20 "one two".."one
74 77 6f 22 20 74 68 72 65 65 0d 0a two" three..

FFIND shows only one:

v:\> *ffind /v /e"\n" foo.txt

---- V:\foo.txt
"one two"

1 line in 1 file