Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl
    #
    ...
    our $c;
    
    our $rxAfterB = qr{(?m)^b[\x20\x09]*([^\n]*)};
    
  2. or download this
    foreach my $a (@tryThese)
    {
    ...
        ($c) = $a =~ /$rxAfterB/;
        print "c is -->$c<--\n\n";
    }
    
  3. or download this
    $a contains ...
    a 10<--
    ...
    b a2 s2  <--
    c 30
    c is -->a2 s2  <--
    
  4. or download this
        ($c) = $a =~ $rxAfterB;