in reply to Questions on sort
>perl -E"my ($aa) = 'abc123def' =~ /(\d+)/; say $aa;" 123 >perl -E"say( ('abc123def' =~ /(\d+)/)[0] );" 123
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Questions on sort
by jiashiun (Initiate) on Aug 16, 2011 at 06:09 UTC | |
by jwkrahn (Abbot) on Aug 16, 2011 at 06:56 UTC | |
by locked_user sundialsvc4 (Abbot) on Aug 16, 2011 at 12:23 UTC | |
by ikegami (Patriarch) on Aug 16, 2011 at 06:49 UTC | |
by Anonymous Monk on Aug 16, 2011 at 06:27 UTC |