(I missed OP's reply which stated the same as below.)
I could not find that line in my copies of perlre or perlop (perl 5.8.7) ...
{ perldoc perlre ; perldoc perlop ; } | grep -C 2 unaffected just as in ordinary Perl code. This also means that if you wan +t real whitespace or "#" characters in the pattern (outside a characte +r class, where they are unaffected by "/x"), that you'll either have to +escape them or encode them using octal or hex escapes. Taken together +, these features go a long way towards making Perl's regular expression +s more -- cards, pipes, and redirections will be honored. The co +llected standard output of the command is returned; standard er +ror is unaffected. In scalar context, it comes back as a sing +le (potentially multi-line) string, or undef if the comman +d failed. In list context, returns a list of lines (howe +ver
In reply to Re^2: /x modifier with \Q and \E
by parv
in thread /x modifier with \Q and \E
by wardy3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |