Author: lwall
Date: 2009-04-24 20:00:35 +0200 (Fri, 24 Apr 2009)
New Revision: 26403

[S02] clarify the status of many-to-one bracketing

Modified: docs/Perl6/Spec/S02-bits.pod
--- docs/Perl6/Spec/S02-bits.pod        2009-04-24 17:11:09 UTC (rev 26402)
+++ docs/Perl6/Spec/S02-bits.pod        2009-04-24 18:00:35 UTC (rev 26403)
@@ -14,7 +14,7 @@
   Date: 10 Aug 2004
   Last Modified: 24 Apr 2009
   Number: 2
-  Version: 165
+  Version: 166
 This document summarizes Apocalypse 2, which covers small-scale
 lexical items and typological issues.  (These Synopses also contain
@@ -81,7 +81,7 @@
 Characters with no corresponding closing character do not qualify
 as opening brackets.  This includes the second section of the Unicode
-BidiMirroring data table, as well as C<U+201A> and C<U+201E>.
+BidiMirroring data table.
 If a character is already used in Ps/Pe/Pi/Pf mappings, then any entry
 in BidiMirroring is ignored (both forward and backward mappings).
@@ -97,6 +97,14 @@
 as the closing brace.  This policy also applies to new one-to-many
 mappings introduced in the future.
+However, many-to-one mappings are fine; multiple opening characters
+may map to the same closing character.  For instance, U+2018, U+201A,
+and U+201B may all be used as the opener for the U+2019 closer.
+Constructs that count openers and closers assume that only the given
+opener is special.  That is, if you open with one of the alternatives,
+all other alternatives are treated as non-bracketing characters within
+that construct.
 =head1 Whitespace and Comments

Reply via email to