Help for this page

Select Code to Download


  1. or download this
    my $str="axx12yya";
    if($str=~m/12(?=.*a)/)
    {
        print "match \n";
    }
    
  2. or download this
    my $str="axx12yya";
    
    ...
    {
        print "match \n";
    }
    
  3. or download this
    Variable length lookbehind not implemented before HERE mark in regex m
    +/12(?<=a.*
    ) << HERE / at test2.pl line 3.