Anyone who understands that assigning a regex to an array assigns the captures; is equally capable of understanding that the same regex in the list context of a map statement assigned to an array will do the exact same thing.
Understanding either or both does not make the OP's code a shining beacon of clarity, IMO.
In reply to Re^7: Capturing regex from map
by Anonymous Monk
in thread Capturing regex from map
by trippledubs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |