Syntax Fixes
Fixed some errors
Fixed some Problems in sym.cpp
Modified regex tests pass