develooper Front page | perl.perl6.language | Postings from July 2010

r31582 -[Str] fix lines def to use .comb(/ ^^ \N* /) for masak++

From:
pugs-commits
Date:
July 8, 2010 14:02
Subject:
r31582 -[Str] fix lines def to use .comb(/ ^^ \N* /) for masak++
Message ID:
20100708210200.11145.qmail@feather.perl6.nl
Author: lwall
Date: 2010-07-08 23:02:00 +0200 (Thu, 08 Jul 2010)
New Revision: 31582

Modified:
   docs/Perl6/Spec/S32-setting-library/Str.pod
Log:
[Str] fix lines def to use .comb(/ ^^ \N* /) for masak++


Modified: docs/Perl6/Spec/S32-setting-library/Str.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/Str.pod	2010-07-08 19:04:55 UTC (rev 31581)
+++ docs/Perl6/Spec/S32-setting-library/Str.pod	2010-07-08 21:02:00 UTC (rev 31582)
@@ -407,7 +407,7 @@
  our List multi method lines ( Str $input: Int $limit = Inf ) is export
 
 Returns a list of lines, i.e. the same as a call to
-C<$input.comb( / \N*\n | \N+$ /, $limit )> would.
+C<$input.comb( / ^^ \N* /, $limit )> would.
 
 =item words
 




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