add regular expression validation to node configuration