Author: autrijus
Date: Wed Apr 26 09:36:05 2006
New Revision: 8957

Modified:
   doc/trunk/design/syn/S02.pod

Log:
* S02: Explicitly define how Ps/Pe and BidiMirroring
       characters match, and resolve the one-to-many
       open/closing mapping by preferring the lower
       codepoint.

Modified: doc/trunk/design/syn/S02.pod
==============================================================================
--- doc/trunk/design/syn/S02.pod        (original)
+++ doc/trunk/design/syn/S02.pod        Wed Apr 26 09:36:05 2006
@@ -51,9 +51,17 @@
 For some syntactic purposes, Perl distinguishes bracketing characters
 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
+However, bidirectional mirroring characters with no corresponding
+closing characters does not qualify as opening brackets.
+
+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.)
+since they're bidirectional but not in the Ps/Pe set.
+
+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.
 
 =back
 

Reply via email to