AlkantarClanX12
Current Path : /opt/alt/ruby18/share/ri/1.8/system/Regexp/ |
Current File : //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 #=> 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