Fix path_regex stuff

Will likely require more work later on composite namevar and
title_patterns stuff.