Solved

Case Based Critical Thinking Case 13-5 William Is Exploring the Syntax

Question 2

Multiple Choice

Case based critical thinking Case 13-5 William is exploring the syntax of regular expressions. He learns that in the regular expression language, a word refers to any string of symbols consisting solely of word characters. He also learns that word boundaries are indicated by the \b symbol. He wants to use a pattern that matches any word that starts with the characters "great" such as "greater", "greatness", or "greatest" Which of the following patterns should William use to match any word that ends with "ust" such as "dust", "trust", or "must"?


A) /ust\b/
B) /\bust/
C) \bust/
D) /b\ust/

Correct Answer:

verifed

Verified

Related Questions