Hi Stuart,

>> > Because there is no fixed rule about where the email address appears
>> > in the line I can't use the parse tools I normally use in a log when
>> > everything is in fixed position.

Another approach would be to use block parsing.

foreach line lines [
    parse to block! line [any [set mail email! break | any-type!]]
    if mail [
       ; send mail
    ]
]

to block! *can* fail with invalid data (e.g. 1xr will try to become a
pair! which it can't do, so you have to weigh that risk.

-- Gregg                         

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to