Sounds like you have
s/\G \s* //xgc; # Skip optional whitespace
when you should have
s/\G \s+ //xgc; # Skip optional whitespace
In reply to Re: Is there a way to allow consecutive zero-length matches without using pos()?
by ikegami
in thread Is there a way to allow consecutive zero-length matches without using pos()?
by jsm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |