IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 29, 2010, 4:11:45 PM (16 years ago)
Author:
rhenders
Message:

tweaked some regexs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/scripts/pspsSchema2xml.pl

    r27520 r27522  
    209209        }
    210210
    211         if($reading && $_ =~ m/^\)/) {$reading = 0;}
     211        if($reading && $_ =~ m/^\s*\)\s*/) {$reading = 0;}
    212212
    213213        if(!$reading) {next;}
     
    218218        if (!$line) {next;}
    219219        if (length($line) < 5) {next;}
    220         if ($line =~ m/^--/) {next;}
     220        if ($line =~ m/^\s*--/) {next;}
    221221        if ($line =~ m/\/\*/) {next;}
    222222        if ($line =~ m/\*\//) {next;}
Note: See TracChangeset for help on using the changeset viewer.