--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Turns a string into a regular expression. By default it will escape all characters. Use <tt>false</tt> argument to turn off escaping.
- !ruby/struct:SM::Flow::VERB 
  body: "  &quot;[&quot;.to_rx  #=&gt; /\\[/\n"
- !ruby/struct:SM::Flow::P 
  body: "CREDIT: Trans"
full_name: String#to_rx
is_singleton: false
name: to_rx
params: (esc=true)
visibility: public
