if ($this->minUpperCaseLetters) {
            $numUpperCaseChars = '';
            if (preg_match_all("/[A-Z]/u", $password, $matches)) {
                $numUpperCaseChars = implode('', $matches[0]);
            }