Author: lwall Date: 2009-04-24 18:55:48 +0200 (Fri, 24 Apr 2009) New Revision: 26401
Modified: docs/Perl6/Spec/S02-bits.pod Log: [S02] also count Pi/Pf characters as bracketing, wayland76++ Modified: docs/Perl6/Spec/S02-bits.pod =================================================================== --- docs/Perl6/Spec/S02-bits.pod 2009-04-24 16:42:12 UTC (rev 26400) +++ docs/Perl6/Spec/S02-bits.pod 2009-04-24 16:55:48 UTC (rev 26401) @@ -12,9 +12,9 @@ Maintainer: Larry Wall <la...@wall.org> Date: 10 Aug 2004 - Last Modified: 19 Apr 2009 + Last Modified: 24 Apr 2009 Number: 2 - Version: 164 + Version: 165 This document summarizes Apocalypse 2, which covers small-scale lexical items and typological issues. (These Synopses also contain @@ -73,17 +73,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. +characters with either bidirectional mirrorings or Ps/Pe/Pi/Pf 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. +Ps/Pe/Pi/Pf properties, though ASCII angle brackets are a notable exception, +since they're bidirectional but not in the Ps/Pe/Pi/Pf sets. 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>. -If a character is already used in Ps/Pe mappings, then any entry +If a character is already used in Ps/Pe/Pi/Pf mappings, then any entry in BidiMirroring is ignored (both forward and backward mappings). For any given Ps character, the next Pe codepoint (in numerical order) is assumed to be its matching character even if that is not