Aaron Malone wrote: Changing the line to if m = /^(((\d+)(?:\.\d+)+\w?)-(\w+)(-\S+)?) (\w+)$/.match(uname) should fix it. There may be a better way; regexes give me a headache. Right, the letter should come after the whole number. Sascha -- http://yoyodyne.ath.cx