James Gray > one. Each > word in the list may be used zero or more times, but only on one side of > the > equation. Shall we also add the requirement that at least one word is used at least once? :) Daniel Lucraft -- Posted via http://www.ruby-forum.com/.