prog.cpp:1:1: error: stray '\' in program
class\s+([^\s:]*)\s*:\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
^
prog.cpp:1:1: error: stray '\' in program
prog.cpp:1:1: error: stray '\' in program
prog.cpp:1:1: error: stray '\' in program
prog.cpp:1:1: error: stray '\' in program
prog.cpp:1:1: error: stray '\' in program
prog.cpp:1:1: error: stray '\' in program
prog.cpp:1:1: error: stray '\' in program
prog.cpp:1:1: error: stray '\' in program
prog.cpp:1:1: error: stray '\' in program
prog.cpp:1:1: error: stray '\' in program
prog.cpp:1:1: error: stray '\' in program
prog.cpp:1:1: error: stray '\' in program
prog.cpp:1:1: error: stray '\' in program
prog.cpp:1:1: error: stray '\' in program
prog.cpp:1:1: error: stray '\' in program
prog.cpp:1:8: error: expected unqualified-id before '+' token
class\s+([^\s:]*)\s*:\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*)(?:\s*,\s*(?:virtual)?\s+(?:public\s+|private\s+|protected\s+)?([^\s,]*))*
^