# Re: string =~ string

**URL:** <https://www.ruby-forum.com/t/re-string-string/64462>\
**Category:** Ruby\
**Created:** [June 26, 2006, 3:01am UTC](https://www.ruby-forum.com/t/re-string-string/64462 "2006-06-26T03:01:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeSSSSaS\_Botp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ecd19e/32.png) [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Post date:** [June 26, 2006, 3:01am UTC](https://www.ruby-forum.com/t/re-string-string/64462/1 "2006-06-26T03:01:56Z")

</div>

fr alex:

# Logan C. wrote:

# \> String#=~ used to automagically convert the second arg into

# a regexp. It

# \> doesn’t do that anymore.

# Ah, ok. That makes sense. Why was it changed?

it’s a source of confusion: which one is to be regexp-ed…

---

<div class="post-metadata">

**Author:** ![PeSSSSaS\_Botp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ecd19e/32.png) [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Post date:** [June 26, 2006, 9:28am UTC](https://www.ruby-forum.com/t/re-string-string/64462/2 "2006-06-26T09:28:18Z")

</div>

Peña wrote:

> fr alex:
> 
> # Logan C. wrote:
> 
> # \> String#=~ used to automagically convert the second arg into
> 
> # a regexp. It
> 
> # \> doesn’t do that anymore.
> 
> # Ah, ok. That makes sense. Why was it changed?
> 
> it’s a source of confusion: which one is to be regexp-ed…

Right. Where do core doc-patches go?

---

<div class="post-metadata">

**Author:** ![PeSSSSaS\_Botp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ecd19e/32.png) [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Post date:** [June 26, 2006, 5:12pm UTC](https://www.ruby-forum.com/t/re-string-string/64462/3 "2006-06-26T17:12:43Z")

</div>

On 6/26/06, Alex Y. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Right. Where do core doc-patches go?

ruby-core I believe. The ruby-doc ML seems to be more for discussion  
of Ruby documentation – and its doc tools (and the [ruby-doc.org](http://ruby-doc.org) site)  
– in general.

—John
