Changeset 15611


Ignore:
Timestamp:
2008-05-21T13:00:40+12:00 (16 years ago)
Author:
ak19
Message:

Added a comment to a regex to explain what it does

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/BasPlug.pm

    r15607 r15611  
    858858    }
    859859   
    860     my ($filemeta) = $file =~ /([^\\\/]+)$/;
     860    my ($filemeta) = $file =~ /([^\\\/]+)$/; # getting the tail of the filepath (skips all string parts containing slashes upto the end)
    861861   
    862862    # how do we know what encoding the filename is in?
Note: See TracChangeset for help on using the changeset viewer.