Because pretty fundamentally - both behaviours are 'useful', and this way you can choose which you get.
Discarding leading spaces is one of the more common scenarios when parsing text.
In reply to Re: Why is split ' ' ne split /\s+/?
by Preceptor
in thread Why is split ' ' ne split /\s+/?
by Marshall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |