C-17-Q065mediumsingle_mcq
The first version (using match) accepts only:
The first version (using match) accepts only:
- aUppercase English letters
- bLowercase English letters
- cDigits
- dPunctuation
ব্যাখ্যা
The vowel cases are written as lowercase characters, so the match version only recognises lowercase English letters; an uppercase input would not match any vowel case. This limitation motivates the alternative method.