rails/rails — comment on commit d80e4ee20e690dfc0f4ec31c41b873d607462872
File:  line 0
By tenderlove:

Revert my patch and try the tests on 1.8 vs 1.9. :-)

--
Aaron Patterson
http://tenderlovemaking.com/

On Dec 8, 2011, at 6:11 PM, Gabriel Sobrinho wrote:

> Are you sure?
>
> This snippet produces exactly same result on ree-1.8.7-2011.03 and 1.9.3-p0
>
> ``` ruby
> words = %w(foo bar baz)
> puts Regexp.union(words)
> # => (?-mix:foo|bar|baz)
>
> regexps = [/foo/, /bar/, /baz/]
> puts Regexp.union(regexps)
> # => (?-mix:(?-mix:foo)|(?-mix:bar)|(?-mix:baz))
> ```
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/rails/rails/commit/d80e4ee20e690dfc0f4ec31c41b873d607462872#commitcomment-780831