# String =~ string

**URL:** <https://rubytalk.org/t/string-string/28469>\
**Category:** ruby-talk\
**Created:** [26 June 2006 01:00 UTC](https://rubytalk.org/t/string-string/28469 "2006-06-26T01:00:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_Pena\_Botp1](https://avatars.discourse-cdn.com/v4/letter/_/94ad74/32.png) [@\_Pena\_Botp1](https://rubytalk.org/u/_Pena_Botp1)\
**Post date:** [26 June 2006 01:00 UTC](https://rubytalk.org/t/string-string/28469/1 "2006-06-26T01:00:42Z")

</div>

fr alex:  
# Logan Capaldo 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:** ![Alex\_Young](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@Alex\_Young](https://rubytalk.org/u/Alex_Young)\
**Post date:** [26 June 2006 07:26 UTC](https://rubytalk.org/t/string-string/28469/2 "2006-06-26T07:26:45Z")

</div>

Peña wrote:

> fr alex:  
> # Logan Capaldo 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?

> **···**
>
> --  
> Alex

---

<div class="post-metadata">

**Author:** ![John\_Gabriele](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@John\_Gabriele](https://rubytalk.org/u/John_Gabriele)\
**Post date:** [26 June 2006 15:09 UTC](https://rubytalk.org/t/string-string/28469/3 "2006-06-26T15:09:10Z")

</div>

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 site)  
-- in general.

---John

> **···**
>
> On 6/26/06, Alex Young \<alex@blackkettle.org\> wrote:
> 
> > Peña wrote:  
> > \> fr alex:  
> > \> # Logan Capaldo 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?
