Back to main page

if($pwd =~ s/^.+$_(\/|$)/$_$1/){

DeadMoose
aaah... It's moments like these I love regular expressions

Responses:
Marge Simpson
Homer, where are you going at this time of night, dressed in your ninja costume?

Homer Simpson
I'm going to punch Larry Wall in the back of the head!

Marge Simpson
Again? Well alright, just make sure you punch the right Larry Wall this time, not the first one in the phone book.

Marge Simpson
He's threatened to call the police if it happens again!

Average rating: 3.40