I am trying parse a c file and find all the variables that begin with "Apple_". I read the entire c file to a string and then use a regex to get all the variables. But I have a macro defined as:
#define IAMMACRO(var,ext) var##ext
so if I have
IAMAMACRO(Apple_,Variable)
I need to get the value Apple_Variable after the parsing and not Apple_.
PS: I prefer an easy solution.