Citrix DaaS Administration — Question 1
A Citrix Engineer needs to write a regular expression to treat the URL www.citrix.com as a literal string.
Which regular expression can the engineer use?
Answer options
- A. www$.citrix$.com
- B. [www\]. [citrix\]. [com\]
- C. www+.citrix+.com
- D. www\.citrix\.com
Correct answer: B
Explanation
The correct answer is B because it uses character classes with escaped brackets to treat each part of the URL as a literal string. Options A and C contain incorrect syntax, while D uses the correct escape characters, but is not in the format of character classes as specified.