On 01/11/2016 11:24 PM, Tobias Leich wrote:
hi, what's in ${BaseTag}? Is it a regex rule or just a plain string?
(Because that matters in Perl 6)
It is a string and can vary.
Would you show me both ways to keep me out of trouble?
Am 12.01.2016 um 01:55 schrieb ToddAndMargo:
Hi All,
Would yo all terribly mind if I ask how to do this Perl 5 regex
in Perl 6? (I learn best by example.)
<code>
if ( $ClickLine =~ /aes256/ and /${BaseTag}/ ) {
push ( @WebClickHere, $ClickLine );
if ( $Line =~ m{select id=\"(.*?)[-]} ) {
my $VerLine = $1;
push ( @WebVersions, $VerLine );
}
}
</code>
Many thanks,
-T
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~