I need to build an expression which matches generic #include "file.h" code line.
Is the following correct for that purpose?
([[:blank:]]*#include[[:blank:]]*")([[:print:]]*\.h)([[:print:]]*)
The expression should match for the followings:
#include "header.h" //first include
#include "header2.h" //second include
#include "header3.h"
I use boost regex library.