From: Roger Pack Date: 2010-08-07T10:03:40+09:00 Subject: Re: Adding sugar to Ruby > * Regexp.union shortcut > > /Ruby\d/ | /test/i | "cheat" > # creates a Regexp similar to: > # /(Ruby\d|[tT][eE][sS][tT]|cheat)/ > What's your opinion about these methods? I like the regex one. -- Posted via http://www.ruby-forum.com/.