develooper Front page | perl.perl6.language | Postings from March 2009

r25774 - docs/Perl6/Spec

From:
pugs-commits
Date:
March 9, 2009 15:34
Subject:
r25774 - docs/Perl6/Spec
Message ID:
20090309223354.5431.qmail@feather.perl6.nl
Author: lwall
Date: 2009-03-09 23:33:54 +0100 (Mon, 09 Mar 2009)
New Revision: 25774

Modified:
   docs/Perl6/Spec/S05-regex.pod
Log:
~ and + now just stringify/numify the matched string, not the result object


Modified: docs/Perl6/Spec/S05-regex.pod
===================================================================
--- docs/Perl6/Spec/S05-regex.pod	2009-03-09 22:24:01 UTC (rev 25773)
+++ docs/Perl6/Spec/S05-regex.pod	2009-03-09 22:33:54 UTC (rev 25774)
@@ -14,9 +14,9 @@
    Maintainer: Patrick Michaud <pmichaud@pobox.com> and
                Larry Wall <larry@wall.org>
    Date: 24 Jun 2002
-   Last Modified: 8 Mar 2009
+   Last Modified: 9 Mar 2009
    Number: 5
-   Version: 89
+   Version: 90
 
 This document summarizes Apocalypse 5, which is about the new regex
 syntax.  We now try to call them I<regex> rather than "regular
@@ -2411,8 +2411,8 @@
 
 =item *
 
-In string context it evaluates to the stringified value of its
-I<result object>, which is usually the entire matched string:
+In string context it evaluates to the stringified value of its match,
+which is usually the entire matched string:
 
      print %hash{ "{$text ~~ /<.ident>/}" };
      # or equivalently:
@@ -2422,8 +2422,8 @@
 
 =item *
 
-In numeric context it evaluates to the numeric value of its
-I<result object>, which is usually the entire matched string:
+In numeric context it evaluates to the numeric value of its match,
+which is usually the entire matched string:
 
      $sum += /\d+/;
      # or equivalently:




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About