factorisation regex