Barnaby W. Füi
Elite Member
Originally posted by: numark
Originally posted by: BingBongWongFooey
$filename =~ s/^.*[\/\\]([^\/\\]+)$/$1/;
filename = re.sub(r'^(.*)[/\]([^/\]+)$', r'\1', filename)
python > perl 😀
I don't trust any language that determines for me the way I have to format my code. I'll tab where I want to tab, d@mn it! 😀
i'd rather have it that way then have ugly { } 's everywhere. less syntax == less bugs, less headaches.