From: "Jesús Gabriel y Galán" Date: 2013-03-16T20:34:20+09:00 Subject: Re: combine two regular expressions On Sat, Mar 16, 2013 at 11:08 AM, Joel Pearson wrote: > It depends what you mean by combine. If you want to match either then > you could use the pipe "|" character as an "or" operator. And if you have to work with the original regexps, you can use the method Regexp#union: http://ruby-doc.org/core-2.0/Regexp.html#method-c-union Jesus.