Phil Tomson wrote: ... > > I think you're looking for Reg: > > http://rubyforge.org/projects/reg/ > > Reg is a library for pattern matching in ruby data structures. Reg > provides Regexp-like match and match-and-replace for all data structures > (particularly Arrays, Objects, and Hashes), not just Strings. Yes! Thanks. James