Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: global match except last one

by dbs (Sexton)
on Jul 13, 2011 at 17:29 UTC ( #914172=note: print w/replies, xml ) Need Help??


in reply to global match except last one

It does not work with
# perl -le '$str='Camelcase'; $str =~ s/(?<=[a-z])(?=[A-Z])/_/g; print + $str;' Camelcase

Replies are listed 'Best First'.
Re^2: global match except last one
by 7stud (Deacon) on Jul 13, 2011 at 23:02 UTC
    Well, just because you write the word 'camlecase' does not mean it's in camel case format.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://914172]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2021-04-23 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?