5 re - Perl pragma to alter regular expression behaviour
9 ($x) = ($^X =~ /^(.*)$/s); # $x is not tainted here
12 ($x) = ($^X =~ /^(.*)$/s); # $x _is_ tainted here
16 When C<use re 'taint'> is in effect, and a tainted string is the target
17 of a regex, the regex memories (or values returned by the m// operator
18 in list context) are tainted.
20 This feature is useful when regex operations on tainted data aren't
21 meant to extract safe substrings, but to perform other transformations.
23 See L<perlmodlib/Pragmatic Modules>.
35 Carp::carp("Useless use of \"re\" pragma");
37 foreach my $s (@_){ $bits |= $bitmask{$s} || 0; };