in reply to Matching and making accesible an arbitrary number of subpatterns w/a regex?

non-greedy:
$_ = "aaa:bbb:ccc:ddd:eee:"; @_ = $_ =~ /(.+?:)/g; print "@_"


  • Comment on Re: Matching and making accesible an arbitrary number of subpatterns w/a regex?
  • Download Code