Changeset 1869


Ignore:
Timestamp:
2001-01-29T12:49:57+13:00 (23 years ago)
Author:
paynter
Message:

Regular expression fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/EMAILPlug.pm

    r1757 r1869  
    8888    # slightly more strict validity check, to prevent us from matching
    8989    # .so.x files ...
    90     return undef unless (($$textref =~ /^From(:| )/) ||
    91              ($$textref =~ /^[-A-Za-z]{2-100}:/));
     90    return undef unless (($$textref =~ /^From /) ||
     91             ($$textref =~ /^[-A-Za-z]{2,100}:/));
    9292
    9393    print $outhandle "EMAILPlug: processing $file\n"
Note: See TracChangeset for help on using the changeset viewer.