changed some stuff in exec...kind of stuck now. added compilation for nongreedy matching, but its not working in exec.