restrict matching of patches_base to start of line