minor tweak to regex