Hello RegExpers,
I know form the answers to Split: Having your capitals and not eating them that how to split a run-together word LikeThis using:
my @w = split(/(?=[A-Z])/,$s);but can I do something similar using:
$s =~ s/(?=[A-Z])/ /g; $s =~ s/^\s//g;
in a single line?
Thanks for your help,
In reply to Splitting on non-initial uppercase without split by loris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |