Florian Gro<florgro / gmail.com> wrote:
> Robert Klemme wrote:
>
>> host_name = /from\s+(\S+)\s+not/ =~ s && $1
>
> Tsk, those Perl guys... ;)

Ssshhh!  I'm trying to get over my Perl heritage but sometimes it still 
haunts me... :-)

> host_name[/from\s+(\S+)\s+not/, 1] # Will either return nil or a
> String

Thanks for reminding me - I always keep forgetting this variant, especially 
with the group selector!

Kind regards

    robert