使用正则表达式查找/替换camelCase单词的下划线单词?


Answers:


0

如果您正在使用GNU sed,那么您可以这样做 s=_\([A-Za-z]\)=\u\1=g

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.