--- !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 Regexp::new 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 Regexp::new."
- !ruby/struct:SM::Flow::VERB
body: " Regexp::IGNORECASE #=> 1\n Regexp::EXTENDED #=> 2\n Regexp::MULTILINE #=> 4\n\n /cat/.options #=> 128\n /cat/ix.options #=> 131\n Regexp.new('cat', true).options #=> 129\n Regexp.new('cat', 0, 's').options #=> 384\n\n r = /cat/ix\n Regexp.new(r.source, r.options) #=> /cat/ix\n"
full_name: Regexp#options
is_singleton: false
name: options
params: |
rxp.options => fixnum
visibility: public