Changeset 1060


Ignore:
Timestamp:
2000-04-04T10:35:39+12:00 (24 years ago)
Author:
sjboddie
Message:

fixed bug in regular expression that was causing last image in file
not to be processed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/translate.pl

    r1037 r1060  
    136136
    137137    # process all the images
    138     $dmfile =~ s/\n\#\#\s*\"([^\"]*)\"\s*\#\#\s*([^\s\#]*)\s*\#\#\s*([^\s\#]*)\s*\#\#(.*?)(?=\n\#)/
     138
     139    $dmfile =~ s/\n\#\#\s*\"([^\"]*)\"\s*\#\#\s*([^\s\#]*)\s*\#\#\s*([^\s\#]*)\s*\#\#(.*?)(?=(\n\#|\s*\Z))/
    139140    &process_image ($1, $2, $3, $4)/esg;
    140141
Note: See TracChangeset for help on using the changeset viewer.