Help for this page

Select Code to Download


  1. or download this
    ($\, $,) = ("\n", "\t");
    print $_, /\b(\d+)\b(?(?{$1 >= 256})(?!))/ ? 'Y' : 'N' for 0 .. 1000;
    
  2. or download this
        /\b(\d+)\b/
    
  3. or download this
        (?(condition)yes-pattern)
    
  4. or download this
    (?{ code })
    
  5. or download this
        (?!)
    
  6. or download this
    /^(\d+)(?(?{$1 >= 256})(?!))\.(\d+)(?(?{$2 >= 256})(?!))\.(\d+)(?(?{$3
    + >= 256})(?!))\.(\d+)(?(?{$4 >= 256})(?!))$/
    
  7. or download this
    /^(\d+)\.(\d+)\.(\d+)\.(\d+)$(?(?{$1 >= 256 || $2 > 256 || $3 >= 256 |
    +|$4 >= 256})(?!))/