diff options
author | David Mitchell <davem@iabyn.com> | 2013-12-04 17:05:16 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2013-12-04 17:05:16 +0000 |
commit | 9fc477bf4a1f21e94d5dfe8e99d8a93308d5388c (patch) | |
tree | 038d42ed36390eb4c608b6093782504952dce870 /pod/perllocale.pod | |
parent | 29da91af2e92d8444a7b9f6dcc93d151677c3a51 (diff) | |
download | perl-9fc477bf4a1f21e94d5dfe8e99d8a93308d5388c.tar.gz |
perllocale.pod: clarify tainting of $1 et al
[perl #120675]
The docs weren't clear that *any* locale info used in a regex taints *all*
of $1, $2,...
Diffstat (limited to 'pod/perllocale.pod')
-rw-r--r-- | pod/perllocale.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perllocale.pod b/pod/perllocale.pod index e4b86a47c8..5bcaf4d2bf 100644 --- a/pod/perllocale.pod +++ b/pod/perllocale.pod @@ -926,7 +926,7 @@ B<Matching operator> (C<m//>): Scalar true/false result never tainted. -Subpatterns, either delivered as a list-context result or as $1 etc. +All subpatterns, either delivered as a list-context result or as $1 etc. are tainted if C<use locale> (but not S<C<use locale ':not_characters'>>) is in effect, and the subpattern regular expression contains C<\w> (to match an alphanumeric character), C<\W> |