Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GIAC Exam GPYC Topic 4 Question 66 Discussion

Actual exam question for GIAC's GPYC exam
Question #: 66
Topic #: 4
[All GPYC Questions]

Which python regular expression method should be used to match any character in a-z, 0-

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Annice
7 days ago
Forget the options, I'm just going to write a regex that matches everything: .*
upvoted 0 times
...
Georgiana
8 days ago
D. \w is the way to go! It's the universal character class for word characters.
upvoted 0 times
...
Asuncion
10 days ago
Hmm, I'm not sure. B. Greedy matching doesn't seem right for this problem.
upvoted 0 times
...
Mila
15 days ago
I'm going with D. \w should match all the characters in that range.
upvoted 0 times
...
Amber
17 days ago
I think the answer is C. A custom character set would be the best way to match any character in a-z, 0-9.
upvoted 0 times
...
Dona
21 days ago
I'm not sure, but I think \w could also work for this. It matches any word character, including letters and digits.
upvoted 0 times
...
Elina
22 days ago
I agree with Miesha. Using a custom character set makes sense for matching any character in a-z, 0-9.
upvoted 0 times
...
Miesha
25 days ago
I think the answer is C) A custom character set.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77