In perl.git, the branch blead-next has been updated <http://perl5.git.perl.org/perl.git/commitdiff/7a66ad52515a09c8957c88804fdb4a961ba15df4?hp=c5e0684d8b06bb65244688475924b7f2f037c122>
- Log ----------------------------------------------------------------- commit 7a66ad52515a09c8957c88804fdb4a961ba15df4 Author: Lukas Mai <[email protected]> Date: Fri May 26 20:15:12 2017 +0200 add X<s> to s/// in perlop (RT #131371) This should make 'perldoc -f s' work. ----------------------------------------------------------------------- Summary of changes: pod/perlop.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pod/perlop.pod b/pod/perlop.pod index 26196c8a07..6c754ca477 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -2064,7 +2064,7 @@ syntax error. If you encounter this construct in older code, you can just add C<m>. =item C<s/I<PATTERN>/I<REPLACEMENT>/msixpodualngcer> -X<substitute> X<substitution> X<replace> X<regexp, replace> +X<s> X<substitute> X<substitution> X<replace> X<regexp, replace> X<regexp, substitute> X</m> X</s> X</i> X</x> X</p> X</o> X</g> X</c> X</e> X</r> Searches a string for a pattern, and if found, replaces that pattern -- Perl5 Master Repository
