I have a question. My goal is to make a password; the password must consist of two lowercase letters and 8 digits from 0-9. I have made a code for this using regular expression but the problem is that it exceeds the overall number of that the password must be which is 10 but my code here doesn't really match actually.

Here is my code:

```
System.out.print("Password: ");
        Scanner pass=new Scanner(System.in);
        String password=pass.next();
        String password_regex="(?=.*[0-9])(?=.*[a-z])(?=\\S+$).{8,}";
        boolean password_result=password.matches(password_regex);

        if(password_result){

```