Replace the MySQL field name with hump style

Time:2021-8-13

VIM command
%s/_([a-z])/\U\1/g

\L lowercase
\U capital
&Are all regular expression matches,
Others are: \ 1, \ 2, \ 3,…, \ 9. Represents the 1st, 2nd, 3rd… 9th match.

Recommended Today

Java Engineer Interview Questions

The content covers: Java, mybatis, zookeeper, Dubbo, elasticsearch, memcached, redis, mysql, spring, spring boot, springcloud, rabbitmq, Kafka, Linux, etcMybatis interview questions1. What is mybatis?1. Mybatis is a semi ORM (object relational mapping) framework. It encapsulates JDBC internally. During development, you only need to pay attention to the SQL statement itself, and you don’t need to […]