Help for this page

Select Code to Download


  1. or download this
    $Test_String = <STDIN> ;
    if($Test_String =~ /$Regex_Pattern/){
    ...
    } else {
        print "false";
    }
    
  2. or download this
    1110110001 => 00111, 10101
                      7     21
                  3 * 7  =  21, accept!
    
  3. or download this
    use bigint;
    
    ...
    }
    
    $Regex_Pattern = qr/(?{ check() })/;
    
  4. or download this
    (?(condition)yes-pattern|no-pattern)
    
  5. or download this
    $Regex_Pattern = qr/^(?(?{ check() }) ^ | (*FAIL) )/x;
    
  6. or download this
    '^(?(?{c()})^|(*F))'
    
  7. or download this
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord
    }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,