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'
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,
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
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
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
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