Add the user-entered Regex to the TreeNode's NodeInfo.