るりまサーチ

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

別のキーワード

  1. string oct
  2. _builtin oct
  3. oct string
  4. oct _builtin
  5. oct

ライブラリ

クラス

検索結果

REXML::Text.normalize(input, doctype = nil, entity_filter = nil) -> String (18201.0)

input を正規化(すべての entity をエスケープ)したものを 返します。

...input を正規化(すべての entity をエスケープ)したものを
返します。

@param input 正規化する文字列
@param doctype DTD(REXML::DocType オブジェクト)
@param entity_filter 置換したい実体の名前の配列...

REXML::Text.unnormalize(string, doctype = nil, filter = nil, illegal = nil) -> String (6200.0)

string を非正規化(すべての entity をアンエスケープ)したものを 返します。

...化する文字列
@param doctype DTD(REXML::DocType オブジェクト)
@param filter アンエスケープしない実体の実体名(文字列配列)
@param illegal 内部用。使わないでください。

//emlist[][ruby]{
require 'rexml/text'
REXML::Text.unnormalize("& &foobar; <") #...
...=> "& &foobar; <"
REXML::Text.unnormalize("&lt; &gt;", nil, ["lt"]) # => "&lt; >"
//}...