Date: Wed Apr 26 10:05:19 2006
New Revision: 8961
* Further note that Ps/Pe dominates BidiMirroring, so U+298D
maps to U+298E, and U+298E itself does not open brackets.
--- doc/trunk/design/syn/S02.pod (original)
+++ doc/trunk/design/syn/S02.pod Wed Apr 26 10:05:19 2006
@@ -52,19 +52,23 @@
from non-bracketing. Bracketing characters are defined as any Unicode
characters with either bidirectional mirrorings or Ps/Pe properties.
+In practice, though, you're safest using matching characters with
+Ps/Pe properties, though ASCII angle brackets are a notable exception,
+since they're bidirectional but not in the Ps/Pe set.
Characters with no corresponding closing characters does not qualify
as opening brackets. This includes the second section of the BidiMirroring
data table, as well as C<U+201A> and C<U+201E>.
+If a character is already used in Ps/Pe mappings, then its entry in
+BidiMirroring is ignored. Therefore C<U+298D> maps to C<U+298E>,
+not C<U+2990>, and C<U+298E> itself is not a valid bracket opener.
The C<U+301D> has two closing alternatives, C<U+301E> and C<U+301F>;
Perl 6 only recognizes the one with lower code point number, C<U+301E>,
as the closing brace. This policy also applies to new one-to-many
mappings introduced in the future.
-In practice, though, you're safest using matching characters with
-Ps/Pe properties, though ASCII angle brackets are a notable exception,
-since they're bidirectional but not in the Ps/Pe set.