Author: lwall Date: 2009-01-22 00:35:56 +0100 (Thu, 22 Jan 2009) New Revision: 24994
Modified: docs/Perl6/Spec/S02-bits.pod docs/Perl6/Spec/S03-operators.pod Log: [S02,S03] delete some .pos fossils Modified: docs/Perl6/Spec/S02-bits.pod =================================================================== --- docs/Perl6/Spec/S02-bits.pod 2009-01-21 20:49:51 UTC (rev 24993) +++ docs/Perl6/Spec/S02-bits.pod 2009-01-21 23:35:56 UTC (rev 24994) @@ -685,9 +685,7 @@ changes to a mutable string. For instance, if you ask for the positions of matches done by a substitution, the answers are reported in terms of the original string (which may now be inaccessible!), not as positions within -the modified string. (However, if you use C<.pos> on the modified string, -it will report the position of the end of the substitution in terms -of the new string.) +the modified string. The subtraction of two C<StrPos> objects gives a C<StrLen> object, which is also not an integer, because the string between two positions Modified: docs/Perl6/Spec/S03-operators.pod =================================================================== --- docs/Perl6/Spec/S03-operators.pod 2009-01-21 20:49:51 UTC (rev 24993) +++ docs/Perl6/Spec/S03-operators.pod 2009-01-21 23:35:56 UTC (rev 24994) @@ -3279,8 +3279,6 @@ by the C<Cat> so that the element numbers remain correct. Strings, arrays, lists, sequences, captures, and tree nodes can all be pattern matched by regexes or by signatures more or less interchangably. -However, the structure searched is not guaranteed to maintain a C<.pos> -unless you are searching a C<Str> or C<Cat>. =head1 Invocant marker