##compile###
g++ scan_expr.cpp
scan_expr.cpp: In function ‘int main()’:
scan_expr.cpp:8:4: error: ‘regex’ was not declared in this scope
scan_expr.cpp:8:10: error: expected ‘;’ before ‘integer’
scan_expr.cpp:13:26: error: ‘integer’ was not declared in this scope
scan_expr.cpp:13:33: error: ‘regex_match’ was not declared in this scope
Please help to resolve this issue .my ubntu version is .
uname -a
Linux D-113032917 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012 i686 i686 i386 GNU/Linux