Skip to content

Commit bbcf876

Browse files
committed
Document Str.NFD and friends.
Closes #365
1 parent 76663f4 commit bbcf876

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

doc/Type/Str.pod

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,34 @@ Remove the whitespace characters from the end of a string. See also L<trim>.
762762
763763
Remove the whitespace characters from the beginning of a string. See also L<trim>.
764764
765+
=head2 method NFC
766+
767+
method NFC(Str:D:) returns NFC:D
768+
769+
Returns a codepoint string in L<NFC|/type/NFC> format (Unicode Normalization
770+
Form C / Composed).
771+
772+
=head2 method NFD
773+
774+
method NFD(Str:D:) returns NFD:D
775+
776+
Returns a codepoint string in L<NFC|/type/NFD> format (Unicode Normalization
777+
Form D / Decomposed).
778+
779+
=head2 method NFKC
780+
781+
method NFKC(Str:D:) returns NFKC:D
782+
783+
Returns a codepoint string in L<NFKC|/type/NFKC> format (Unicode Normalization
784+
Form KC / Compatibility Composed).
785+
786+
=head2 method NFKD
787+
788+
method NFKD(Str:D:) returns NFKD:D
789+
790+
Returns a codepoint string in L<NFC|/type/NFKD> format (Unicode Normalization
791+
Form KD / Compatibility Decomposed).
792+
765793
=head2 method ACCEPTS
766794
767795
multi method ACCEPTS(Str:D: $other)

0 commit comments

Comments
 (0)