exam questions

Exam 1Y0-340 All Questions

View all questions & answers for the 1Y0-340 exam

Exam 1Y0-340 topic 1 question 21 discussion

Actual exam question from Citrix's 1Y0-340
Question #: 21
Topic #: 1
[All 1Y0-340 Questions]

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?

  • A. www$.citrix$.com
  • B. [www\]. [citrix\]. [com\]
  • C. www+.citrix+.com
  • D. www\.citrix\.com
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
szabbgab
2 years, 3 months ago
Selected Answer: D
www\.citrix\.com
upvoted 1 times
...
patpatty
3 years, 11 months ago
D is correct here. "." is a special character in RegEx, so you need to escape it with the "\" character
upvoted 1 times
...
razors
5 years, 10 months ago
The correct answer is D: www\.citrix\.com
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago