Based on a REGEX validation I am trying to set a value which is not happening as expected in Groovy Jenkins pipeline If version = 1.1.1 or 1.5.9 or 9.9.9 like that then it h