Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > library _builtin > class Regexp > fixed_encoding?

instance method Regexp#fixed_encoding?

fixed_encoding? -> bool

正規表現が任意の ASCII 互換エンコーディングとマッチ可能な時に false を返します。