1305件ヒット
[1301-1305件を表示]
(0.126秒)
キーワード
- % (12)
- * (12)
- + (12)
- << (12)
- <=> (12)
- == (12)
- === (12)
- =~ (12)
- [] (72)
- []= (84)
- byteindex (3)
- byterindex (3)
- byteslice (36)
- capitalize (9)
- capitalize! (9)
- casecmp (12)
- casecmp? (9)
- center (12)
- concat (21)
- count (12)
- crypt (12)
- delete (12)
- delete! (12)
-
delete
_ prefix (8) -
delete
_ prefix! (8) -
delete
_ suffix (8) -
delete
_ suffix! (8) - downcase (9)
- downcase! (9)
-
each
_ line (24) - encode (36)
- encode! (24)
-
end
_ with? (12) - eql? (12)
-
force
_ encoding (12) - getbyte (12)
- gsub (48)
- gsub! (48)
- include? (12)
- index (12)
- insert (12)
- lines (24)
- ljust (12)
-
parse
_ csv (12) - partition (12)
- prepend (21)
- rindex (12)
- rjust (12)
- rpartition (12)
- scan (24)
- scrub (36)
- scrub! (36)
- setbyte (12)
- slice (72)
- split (19)
- squeeze (12)
- squeeze! (12)
-
start
_ with? (12) - sub (36)
- sub! (36)
- sum (12)
- swapcase (9)
- swapcase! (9)
-
to
_ i (12) - tr (12)
-
tr
_ s (12) -
tr
_ s! (12) -
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - unpack (12)
- upcase (9)
- upcase! (9)
- upto (12)
検索結果
-
String
# unicode _ normalized?(form = :nfc) -> bool (3014.0) -
self が引数 form で指定された正規化形式で Unicode 正規化された文字列か どうかを返します。
...規化された文字列か
どうかを返します。
@param form 正規化形式を :nfc、:nfd、:nfkc、:nfkd のいずれかで指定しま
す。省略した場合は :nfc になります。
@raise Encoding::CompatibilityError self が Unicode 文字列ではない場合......に発生します。
//emlist[例][ruby]{
"a\u0300".unicode_normalized? # => false
"a\u0300".unicode_normalized?(:nfd) # => true
"\u00E0".unicode_normalized? # => true
"\u00E0".unicode_normalized?(:nfd) # => false
"\xE0".force_encoding('ISO-8859-1').u......nicode_normalized?
# => Encoding::CompatibilityError raised
//}
@see String#unicode_normalize, String#unicode_normalize!...