Base.pm

I didn't move it, I duplicated it, specially because I was getting undef warnings in the regex.