Changeset 1757
- Timestamp:
- 2000-12-07T11:47:27+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/EMAILPlug.pm
r1658 r1757 85 85 # Check that we're dealing with a valid mail file 86 86 return undef unless (($$textref =~ /From:/) || ($$textref =~ /To:/)); 87 88 # slightly more strict validity check, to prevent us from matching 89 # .so.x files ... 90 return undef unless (($$textref =~ /^From(:| )/) || 91 ($$textref =~ /^[-A-Za-z]{2-100}:/)); 87 92 88 93 print $outhandle "EMAILPlug: processing $file\n"
Note:
See TracChangeset
for help on using the changeset viewer.