Help for this page

Select Code to Download


  1. or download this
    if ($file =~ /^\d{8}(?:_\d+)*\.ilf$/i ||
        $file =~ /^\d{8}(?:\s\d+)*\.sht$/i
    ) {
       ...
    }
    
  2. or download this
          vvvvvvvvv  vvv vvv   vvvv  common
         /^\d{8}(?:_ \d+)*\.ilf$/ix
         /^\d{8}(?:\s\d+)*\.sht$/ix
                   ^^       ^^^      not common
    
  3. or download this
                (?:_ \d+)*\.ilf
         /^\d{8}               $/ix
                (?:\s\d+)*\.sht
    
  4. or download this
    if ($file =~ /^\d{8}(?:(?:_\d+)*\.ilf|(?:\s\d+)*\.sht)$/i) {
       ...
    }