Keep It Simple, Stupid | |
PerlMonks |
Re^4: More complicated regular expression?by polettix (Vicar) |
on Jan 28, 2012 at 12:34 UTC ( [id://950507]=note: print w/replies, xml ) | Need Help?? |
my ($address) = m{\s+ (?: address | A) \s+ (\S+)}x;
I still wonder why host should change its output format, anyway. perl -ple'$_=reverse' <<<ti.xittelop@oivalf Io ho capito... ma tu che hai detto?
In Section
Seekers of Perl Wisdom
|
|