Ignore:
Timestamp:
2016-08-22T20:44:10+12:00 (8 years ago)
Author:
ak19
Message:

Forgot to clean up comments that were no longer necessary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/gti.pl

    r30719 r30735  
    16221622        # So find the first :/= char not preceded by \. That will be the true separator of a chunk_key and its value chunk_text
    16231623
    1624         if ($line =~ m/^(\S*?[^\\])[:|=](.*)$/) { #if ($line =~ /^(\S+?)[:|=](.*)$/) {
     1624        if ($line =~ m/^(\S*?[^\\])[:|=](.*)$/) {
    16251625            # Line contains a dictionary string
    16261626
     
    16591659    # So just as in the previous subroutine, find the first (leftmost) : or = char not preceded by \.
    16601660    # That will be the true separator of a chunk_key and its value chunk_text
    1661     $chunk_text =~ s/^(\S*?[^\\])[:|=](\s*)//s; # $chunk_text =~ s/^(\S+)[:|=](\s*)//s;
     1661    $chunk_text =~ s/^(\S*?[^\\])[:|=](\s*)//s;
    16621662
    16631663    $chunk_text =~ s/(\s*)$//s;  # Remove any nasty whitespace, carriage returns etc.
Note: See TracChangeset for help on using the changeset viewer.