
256 ◾ Computational Thinking for the Modern Problem Solver
denes a sequence of at least three all-cap words. is pattern occurs
exactly once in the text of Figure8.42. e phrase “ PRIVILEGED AND
CONFIDENTIAL” matches the pattern.
Figure 8.45 shows how the phrase “PRIVILEGED AND
CONFIDENTIAL” is a match for the pattern of Figure8.44. e rst char-
acter is a space and matches the rst \W of the pattern. Following the
space are three occurrences of the [A-Z]+\W pattern. Each of these three
elements begins with a sequence of at least one capitalized letters and is
followed by a space.
REFERENCE
1. von Neumann, John. “First Dra of a Report ...