How to replace uppercase letters to lowercase letters using regex in Eclipse?

前端 未结 4 1034
野趣味
野趣味 2021-02-05 02:32

I\'d like to go through all of my source code files and replace every occurence of k_Xyyy with k_xyyy (switch the first letter after k_ fr

4条回答
  •  时光取名叫无心
    2021-02-05 02:52

    That is not possible. Either use Eclipse's re-factoring functionality, or replace them one at a time:

    regex       : \bk_A
    replacement : k_a 
    
    regex       : \bk_B
    replacement : k_b 
    
    ...
    
    regex       : \bk_Z
    replacement : k_z 
    

提交回复
热议问题