fix #14 Fixing mleak on reg. expression evaluation