Character Classes What would [abc][def] match? Any three letters out of "abc", then any three from "def" Either "abc" or "def" A | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Character Classes What would [abc][def] match? Any three letters out of "abc", then any three from "def" Either "abc" or "def" A

Character Classes What would [abc][def] match? Any three letters out of "abc", then any three from "def" Either "abc" or "def" Any letter out of "abc", then any out of "def"

27th Jan 2023, 10:46 AM
aryan
2 Answers
+ 9
aryan , > you can do a try by yourself with a few lines of code. this would be much more helpful than expecting to get an answer from the community.
27th Jan 2023, 11:50 AM
Lothar
Lothar - avatar
+ 2
You need to review the lesson, the answer is in it. The might show it in a different format, I think it's [A-Z][A-Z][0-9] but they explain what it means.
27th Jan 2023, 1:56 PM
Ausgrindtube
Ausgrindtube - avatar