Current Path : /usr/local/share/ri/1.8/system/Regexp/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/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