regex to nodes.pp