るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.022秒)
トップページ > クエリ:$[x] > バージョン:2.4.0[x] > クエリ:RegexpError[x]

別のキーワード

  1. kernel $hdrdir
  2. kernel $ors
  3. kernel $rs
  4. mkmf $hdrdir
  5. english $nr

ライブラリ

検索結果

RegexpError (114037.0)

正規表現のコンパイルに失敗したときに発生します。

正規表現のコンパイルに失敗したときに発生します。

例:

$ ruby -e 'Regexp.compile("*")'
-e:1:in `initialize': target of repeat operator is not specified: /*/ (RegexpError)
from -e:1:in `Regexp#compile'
from -e:1