Skip to content

Instantly share code, notes, and snippets.

@malleor
Created November 20, 2012 07:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malleor/4116567 to your computer and use it in GitHub Desktop.
Save malleor/4116567 to your computer and use it in GitHub Desktop.
Header guard to pragma once in VS
\#ifndef {[A-Z_]@_H}:b*\n\#define \1:b*\n{(.*\n)*}\#endif(.*\1)*\n -> #pragma once\n\2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment