54件ヒット
[1-54件を表示]
(0.028秒)
種類
- インスタンスメソッド (32)
- 特異メソッド (22)
ライブラリ
- ビルトイン (10)
-
rdoc
/ text (22) -
rexml
/ document (22)
クラス
-
REXML
:: Text (22) - String (10)
モジュール
-
RDoc
:: Text (22)
キーワード
-
normalize
_ comment (11) - parse (11)
-
unicode
_ normalize! (10) - unnormalize (11)
検索結果
先頭5件
- REXML
:: Text . normalize(input , doctype = nil , entity _ filter = nil) -> String - RDoc
:: Text # normalize _ comment(text) -> String - REXML
:: Text . unnormalize(string , doctype = nil , filter = nil , illegal = nil) -> String - String
# unicode _ normalize!(form = :nfc) -> self - RDoc
:: Text # parse(text) -> RDoc :: Markup :: Document | Array
-
REXML
:: Text . normalize(input , doctype = nil , entity _ filter = nil) -> String (21101.0) -
input を正規化(すべての entity をエスケープ)したものを 返します。
input を正規化(すべての entity をエスケープ)したものを
返します。
@param input 正規化する文字列
@param doctype DTD(REXML::DocType オブジェクト)
@param entity_filter 置換したい実体の名前の配列 -
RDoc
:: Text # normalize _ comment(text) -> String (9232.0) -
引数から行頭のスペースや改行文字などを削除します。
...から行頭のスペースや改行文字などを削除します。
詳しくは [SEE ALSO] の各メソッドを参照してください。
@param text 文字列を指定します。
@see RDoc::Text#strip_hashes, RDoc::Text#expand_tabs,
RDoc::Text#flush_left, RDoc::Text#strip_newlines... -
REXML
:: Text . unnormalize(string , doctype = nil , filter = nil , illegal = nil) -> String (9118.0) -
string を非正規化(すべての entity をアンエスケープ)したものを 返します。
...アンエスケープしない実体の実体名(文字列配列)
@param illegal 内部用。使わないでください。
//emlist[][ruby]{
require 'rexml/text'
REXML::Text.unnormalize("& &foobar; <") # => "& &foobar; <"
REXML::Text.unnormalize("< >", nil, ["lt"]) # => "< >"
//}... -
String
# unicode _ normalize!(form = :nfc) -> self (6149.0) -
self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し た文字列に置き換えます。
...に発生します。
//emlist[例][ruby]{
text = "a\u0300"
text.unicode_normalize!(:nfc)
text == "\u00E0" # => true
text.unicode_normalize!(:nfd)
text == "a\u0300" # => true
//}
@see String#unicode_normalize, String#unicode_normalized?... -
RDoc
:: Text # parse(text) -> RDoc :: Markup :: Document | Array (3151.0) -
引数から RDoc::Text#normalize_comment でスペースや改行文字などを削 除した後に解析を行います。
...引数から RDoc::Text#normalize_comment でスペースや改行文字などを削
除した後に解析を行います。
@param text 文字列を指定します。
@see RDoc::Text#normalize_comment...