my %hash = map { $key++ => $_ } grep { $_ != 0 } sub { $line =~ /action\(([^)]+)\)/; split /,/, $1; }->();
In reply to Re^3: Extract a small part of a long sentence using regular expressions
by choroba
in thread Extract a small part of a long sentence using regular expressions
by swatzz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |