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\bsymbol. 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?

A. //bgreat/
B. /\bgreat/
C. /bgreat/
D. /b\great/


Answer: B

Computer Science & Information Technology

You might also like to view...

As shown in the accompanying figure, _________________________ refers to a collection of computer servers that house resources users access through the Internet.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

You can create your own categories and select one of ____ colors to associate with them.

A. 14 B. 15 C. 20 D. 25

Computer Science & Information Technology

A(n) _______ card is sometimes used to accept video from a surveillance camera

Fill in the blank(s) with correct word

Computer Science & Information Technology

What are the three types of storage spaces? (Select three.)

A) Primary B) Secondary C) Tertiary D) Simple E) Extended F) Parity G) Logical H) Mirror

Computer Science & Information Technology