in reply to Re: Can map or splice replace my use of for loop + push + grep for my array transmogrification?
in thread Can map or splice replace my use of for loop + push + grep for my array transmogrification?

Doh! You're right. Sorry about that. In simplifying and sanitizing my example for posting, the digit check no longer makes sense, does it?

I must do the digit check because that is just one form of shorthand that I'm allowing. The other forms don't match that pattern.

  • Comment on Re^2: Can map or splice replace my use of for loop + push + grep for my array transmogrification?