Skip to content

Commit 008870f

Browse files
committed
Merge pull request #91 from lucasbuchala/unicode1
Add literal unicode chars in S02/Bracketing Characters
2 parents 40163b8 + c34d281 commit 008870f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

S02-bits.pod

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,19 @@ If a character is already used in Ps/Pe/Pi/Pf mappings, then any entry in
8484
BidiMirroring is ignored (both forward and backward mappings). For any
8585
given Ps character, the next Pe codepoint (in numerical order) is assumed to
8686
be its matching character even if that is not what you might guess using
87-
left-right symmetry. Therefore C<U+298D> maps to C<U+298E>, not C<U+2990>,
88-
and C<U+298F> maps to C<U+2990>, not C<U+298E>. Neither C<U+298E> nor
89-
C<U+2990> are valid bracket openers, despite having reverse mappings in the
87+
left-right symmetry. Therefore C<U+298D> (⦍) maps to C<U+298E> (⦎), not C<U+2990> (⦐),
88+
and C<U+298F> (⦏) maps to C<U+2990> (⦐), not C<U+298E> (⦎). Neither C<U+298E> (⦎) nor
89+
C<U+2990> (⦐) are valid bracket openers, despite having reverse mappings in the
9090
BidiMirroring table.
9191

92-
The C<U+301D> codepoint has two closing alternatives, C<U+301E> and
93-
C<U+301F>; Perl 6 only recognizes the one with lower code point number,
94-
C<U+301E>, as the closing brace. This policy also applies to new
92+
The C<U+301D> (〝) codepoint has two closing alternatives, C<U+301E> (〞) and
93+
C<U+301F> (〟); Perl 6 only recognizes the one with lower code point number,
94+
C<U+301E> (〞), as the closing brace. This policy also applies to new
9595
one-to-many mappings introduced in the future.
9696

9797
However, many-to-one mappings are fine; multiple opening characters may map
98-
to the same closing character. For instance, C<U+2018>, C<U+201A>, and
99-
C<U+201B> may all be used as the opener for the C<U+2019> closer.
98+
to the same closing character. For instance, C<U+2018> (‘), C<U+201A> (‚), and
99+
C<U+201B> (‛) may all be used as the opener for the C<U+2019> (’) closer.
100100
Constructs that count openers and closers assume that only the given opener
101101
is special. That is, if you open with one of the alternatives, all other
102102
alternatives are treated as non-bracketing characters within that construct.

0 commit comments

Comments
 (0)