Skip to content

Instantly share code, notes, and snippets.

@jlblancoc
Last active Jul 3, 2020
Embed
What would you like to do?
Regular expression: replace all C++ member variable names in a project `m_XXX` ==> "XX_" (Google style)

Search for:

([\r\n ,\.\t\[\_\*\>\(\-\!\&\{])m_([a-zA-Z0-9_]*)

Replace with:

$1$2_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment