Il y a une subtilité en Groovy entre String#split et String#tokenize que cet article explique fort bie