Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Regexp/options-i.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Returns the set of bits corresponding to the options used when creating this Regexp (see <tt>Regexp::new</tt> for details. Note that additional bits may be set in the returned options: these are used internally by the regular expression code. These extra bits are ignored if the options are passed to <tt>Regexp::new</tt>."
- !ruby/struct:SM::Flow::VERB 
  body: "   Regexp::IGNORECASE                  #=&gt; 1\n   Regexp::EXTENDED                    #=&gt; 2\n   Regexp::MULTILINE                   #=&gt; 4\n\n   /cat/.options                       #=&gt; 128\n   /cat/ix.options                     #=&gt; 131\n   Regexp.new('cat', true).options     #=&gt; 129\n   Regexp.new('cat', 0, 's').options   #=&gt; 384\n\n   r = /cat/ix\n   Regexp.new(r.source, r.options)     #=&gt; /cat/ix\n"
full_name: Regexp#options
is_singleton: false
name: options
params: |
  rxp.options   => fixnum

visibility: public