In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/85a8548711e75aede72b0a6207a64963e01e198e?hp=3093cd0531d6e17e80fd45b92f37e51f523b16b2>
- Log ----------------------------------------------------------------- commit 85a8548711e75aede72b0a6207a64963e01e198e Author: Tom Wyant <[email protected]> Date: Sat Jan 20 15:09:00 2018 -0700 Fix typos in script_run documentation ----------------------------------------------------------------------- Summary of changes: pod/perl5278delta.pod | 2 +- pod/perlre.pod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pod/perl5278delta.pod b/pod/perl5278delta.pod index 501e8b2cb3..f9f51aa185 100644 --- a/pod/perl5278delta.pod +++ b/pod/perl5278delta.pod @@ -33,7 +33,7 @@ A mixture of scripts, such as Cyrillic and Latin, in a string is often the sign of a spoofing attack. A new regular expression construct now allows for easy detection of these. For example, you can say - qr/(?script_run: \d+ \b )/x + qr/(+script_run: \d+ \b )/x And the digits matched will all be from the same set of 10. You won't get a look-alike digit from a different script that has a different diff --git a/pod/perlre.pod b/pod/perlre.pod index 993a08ede8..74f44fedc3 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -2470,7 +2470,7 @@ own set. This is because these are often used in commerce even in such scripts. But any mixing of the ASCII and other digits will cause the sequence to not be a script run, failing the match. As an example, - qr/(?script_run: \d+ \b )/x + qr/(+script_run: \d+ \b )/x guarantees that the digits matched will all be from the same set of 10. You won't get a look-alike digit from a different script that has a -- Perl5 Master Repository
