multiplication regex: Speed up the last prime factor divisibility test by reordering things