in reply to Re^4: How do a make an IP look up non-greedy?
in thread How do a make an IP look up non-greedy?
(And, yes, MS command lines are "a bit" funky; yet another WinNoyance®.)>perl -nle "print ' ==> ', eval" print 2 2 ==> 1 '12a34' =~ /(\d)/ ==> 1 '12a34' =~ /(\d+)/ ==> 12 '12a34' =~ /(\d+$)/ ==> 34 '12a34' =~ /(\d+ $)/x ==> 34
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: How do a make an IP look up non-greedy?
by Anonymous Monk on Jun 16, 2009 at 13:03 UTC |