Here's yet another way:
for (@array) { while (m(/MSS)g) { s{\G([^/]*?) +(?![* ])}{$1}g } }
In reply to Re: Answer: How do I match for a pattern in an array element delimited with a /
by Roy Johnson
in thread How do I match for a pattern in an array element delimited with a /
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |