added support for static, constant, abstract and fixed some minor errors on regexprs