I'd like to change the following patterns:
getFoo_Bar
to:
getFoo_bar
(note the lower b)
Knowing neither foo nor bar, what is the replacement pattern?
I started writing
sed 's/(get[A-Z][A-Za-z0-9]*_)([A-Z])/1
but I'm stuck: I want to write "2 lower case", how do I do that?
Maybe sed is not adapted?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…