From: Roger Pack Date: 2009-10-27T07:08:51+09:00 Subject: Re: RCR: regex + regex > What might be the corresponding * or - behaviors? It seems like > a * b > is closer to > /(a)*(b)/ That's what I'd guess for *, as well. > than anything else I could think of and that immediately implies: > a + b > becomes: > /(a)+(b)/ > rather than just /(a)(b)/ > > The fact that + is a meaningful character in a Regexp makes a > universal meaning for it as an operation *on* regexps a bit ambiguous. Yeah, or what | means or what not. I'd probably just stick with concatenation and not even *define* *. -r -- Posted via http://www.ruby-forum.com/.