300-820 · Question #7
Refer to the exhibit. Which two numbers match the regular expression? (Choose two.)
The correct answer is C. 209165200225 E. 209165200224. The regular expression matches purely numeric strings of the correct length and pattern, excluding entries with non-numeric 'd' characters or incorrect digit counts.
Question
Refer to the exhibit. Which two numbers match the regular expression? (Choose two.)
Options
- Ad20d16d20d22
- B2091652010224
- C209165200225
- Dd209d165d200d224
- E209165200224
How the community answered
(26 responses)- A12% (3)
- B4% (1)
- C81% (21)
- D4% (1)
Why each option
The regular expression matches purely numeric strings of the correct length and pattern, excluding entries with non-numeric 'd' characters or incorrect digit counts.
d20d16d20d22 contains literal 'd' characters which are non-numeric and would not match a regex designed to match digit-only strings.
2091652010224 has a different digit sequence or length that does not conform to the pattern defined in the exhibit's regular expression.
209165200225 is a numeric-only string that satisfies the digit pattern and length defined in the regular expression shown in the exhibit.
d209d165d200d224 contains literal 'd' characters interspersed throughout, making it a non-numeric string that fails to match a numeric digit pattern.
209165200224 is also a numeric-only string that satisfies the digit pattern and length defined in the regular expression shown in the exhibit.
Concept tested: CUCM route pattern regular expression matching
Source: https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/10_0_1/ccmcfg/CUCM_BK_CDE80852_00_admin-guide-100/CUCM_BK_CDE80852_00_admin-guide-100_chapter_01001.html
Topics
Community Discussion
No community discussion yet for this question.