From: Moritz Lenz Date: Sat, 5 Jan 2008 17:14:44 +0000 (+0100) Subject: \X is equivalent to an atomic group X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e1f17637d1ade6d468d3aebe31c7b7a17f6fc053;p=p5sagit%2Fp5-mst-13.2.git \X is equivalent to an atomic group Message-ID: <477FACF4.5030801@casella.verplant.org> p4raw-id: //depot/perl@32872 --- diff --git a/pod/perlre.pod b/pod/perlre.pod index 015881b..c35b49f 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -258,7 +258,7 @@ X X X X \pP Match P, named property. Use \p{Prop} for longer names. \PP Match non-P \X Match eXtended Unicode "combining character sequence", - equivalent to (?:\PM\pM*) + equivalent to (?>\PM\pM*) \C Match a single C char (octet) even under Unicode. NOTE: breaks up characters into their UTF-8 bytes, so you may end up with malformed pieces of UTF-8. diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod index 61d62d2..bae97df 100644 --- a/pod/perlunicode.pod +++ b/pod/perlunicode.pod @@ -184,7 +184,7 @@ The special pattern C<\X> matches any extended Unicode sequence--"a combining character sequence" in Standardese--where the first character is a base character and subsequent characters are mark characters that apply to the base character. C<\X> is equivalent to -C<(?:\PM\pM*)>. +C<< (?>\PM\pM*) >>. =item *