Re: [SAtalk] Weird Word patch

2003-12-08 Thread Martin Radford
At Mon Dec 8 16:49:46 2003, Matt Kettler wrote: > No, any line with a comma or period sandwiched between two alpha's would > hit.. no spaces allowed, no end-of-line's allowed in between. (sa does > remove EOLs from body text, but I believe they are replaced by spaces. > Otherwise rules wouldn'

RE: [SAtalk] Weird Word patch

2003-12-08 Thread Steven Manross
tt Kettler Sent: Monday, December 08, 2003 9:50 AM To: Mike Kuentz (2); Brendan Burns; [EMAIL PROTECTED] Subject: RE: [SAtalk] Weird Word patch At 11:22 AM 12/8/2003, Mike Kuentz (2) wrote: >Eval's return true/false if I'm not mistaken. Yes, they do.. But I suspect perl is like C,

RE: [SAtalk] Weird Word patch

2003-12-08 Thread Matt Kettler
At 11:22 AM 12/8/2003, Mike Kuentz (2) wrote: Eval's return true/false if I'm not mistaken. Yes, they do.. But I suspect perl is like C, where any nonzero return value is "true". So it's less useful than it appears to return a count, but not harmful. It's probably better style to do what most of

RE: [SAtalk] Weird Word patch

2003-12-08 Thread Steven Manross
M To: Brendan Burns; [EMAIL PROTECTED] Subject: RE: [SAtalk] Weird Word patch how would you use this? Eval's return true/false if I'm not mistaken. So any line with a comma or period would hit. Mike > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PR

RE: [SAtalk] Weird Word patch

2003-12-08 Thread Mike Kuentz (2)
2003 1:09 PM > To: [EMAIL PROTECTED] > Subject: [SAtalk] Weird Word patch > > > Hey folks, > I hacked together a quick test for words with weird > characters in them, > e.g. > > b;uy m`ore ... > > Add to EvalTests.pm > > sub weird_words { > m

[SAtalk] Weird Word patch

2003-12-06 Thread Brendan Burns
Hey folks, I hacked together a quick test for words with weird characters in them, e.g. b;uy m`ore ... Add to EvalTests.pm sub weird_words { my ($self, $fulltext) = @_; my $count = 0; # Get the text $fulltext = $self->get_decoded_body_text_array(); foreach my $line ( @{$full