Skip to content

Instantly share code, notes, and snippets.

Last active Jul 3, 2020
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:

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