Folks, Just a quick one. md = /\..*?$/.match "dotslash.tar.gz" md[0] # -> ".tar.gz" I expect md[0] to be ".gz", because the question-mark in the regex tells * not to be greedy. Can anyone enlighten? Thanks, Gavin