Changeset 15611

Show
Ignore:
Timestamp:
21.05.2008 13:00:40 (12 years ago)
Author:
ak19
Message:

Added a comment to a regex to explain what it does

Files:
1 modified

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?