Since no one else has mentioned it yet, here is an example that uses the SlashG anchor. (SlashG is typed like that just to make it search-engine-distinguishable).
$_ = "ThisIsACamelCaseWorld"; my @aTemp; @aTemp = m/\G[A-Z]?[a-z]*/g; ## same thing print join " ", @aTemp; __END__ This Is A Camel Case World
In reply to Re: Splitting on non-initial uppercase without split
by dimar
in thread Splitting on non-initial uppercase without split
by loris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |