Regexp

Regexp

ri

 ---------------------------------------------------------- Class: Regexp
      Document-class: Regexp
 
      A  Regexp  holds a regular expression, used to match a pattern
      against strings. Regexps are created using the  /.../  and
       %r{...}  literals, and by the  Regexp::new  constructor.
 
 ------------------------------------------------------------------------
 
 
 Constants:
 ----------
      IGNORECASE: INT2FIX(RE_OPTION_IGNORECASE)
      EXTENDED:   INT2FIX(RE_OPTION_EXTENDED)
      MULTILINE:  INT2FIX(RE_OPTION_MULTILINE)
 
 
 Class methods:
 --------------
      compile, escape, last_match, new, quote, union
 
 
 Instance methods:
 -----------------
      ==, ===, =~, casefold?, eql?, hash, inspect, kcode, match, options,
      source, to_s, ~

refe

 ==== Regexp ====
 組み込みクラスRegexpを拡張して次のメソッドを定義している。
 ---- Singleton methods ----
 EXTENDED IGNORECASE MULTILINE compile escape last_match new
 quote
 ---- Instance methods ----
 
		

* はてなダイアリーキーワード:Regexp