Moved variable identification from regex to AST using a modified version of plyj.