るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.066秒)
トップページ > クエリ:l[x] > クエリ:exp[x] > クエリ:eql?[x]

別のキーワード

  1. math exp
  2. bn mod_exp
  3. bigmath exp
  4. float min_exp
  5. float max_exp

ライブラリ

クラス

検索結果

Regexp#eql?(other) -> bool (21200.0)

otherが同じパターン、オプション、文字コードの正規表現であったらtrueを返します。

...らtrueを返します。

@param other 正規表現を指定します。

//emlist[例][ruby]{
p /^eee$/ == /~eee$/x # => false
p /^eee$/ == /~eee$/i # => false
p /^eee$/e == /~eee$/u # => false
p /^eee$/ == Regexp.new("^eee$") # => true
p /^eee$/.eql?(/^eee$/) # => true
//}...