#ifndef __REGEX_H__ #define __REGEX_H__ #ifdef __cplusplus #else #error This only works with a C++ compiler #endif #endif