in reply to Re: Split: Having your capitals and not eating them
in thread Split: Having your capitals and not eating them

It is probably the former, given the post.....

print join ' | ', split /(?=[A-Z])/, "thisIsCamelCase"; __DATA__ this | Is | Camel | Case

Replies are listed 'Best First'.
Re^3: Split: Having your capitals and not eating them
by edan (Curate) on Nov 11, 2004 at 14:39 UTC

    I think you mean "the latter." ;-)

    --
    edan

      I meant the former as in your original post rather than the alternative interpretation. I knew what I was talking about, even if it was not obvious to anyone else :-)

      After reading edan's first reply I discovered that what I really wanted to do was:

      $s =~ s/(?=[A-Z])/ /g;

      i.e. more the 'latter', although I look forward to doing the former at some point.

      Thanks, everyone,

      loris