るりまサーチ

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

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. bigdecimal to_r
  5. fileutils cp_r

ライブラリ

クラス

検索結果

REXML::Entity.matches?(string) -> bool (21300.0)

string が実体宣言の文法に従う文字列であれば真を返します。

...string が実体宣言の文法に従う文字列であれば真を返します。

@param string 判定対象の文字列

//emlist[][ruby]{
r
equire 'rexml/document'

p REXML::Entity.matches?('<!ENTITY s "seal">') # => true
p REXML::Entity.matches?('<!ENTITY % s "seal">') # => true
p REXML::Entity....
...matches?('<!ELEMENT br EMPTY >') # => false
//}...