[pl] fix regex problems found by Dominique's check