axp Chapter 7 exercises

Huh... I guess your interpretation makes sense, and wouldn't require the \b's. It probably is what they meant by the exercise come to think of it. To support my interpretation, though;

capitalize: (transitive) In writing or editing, to write (something: either an entire word or text, or just the initial letter(s) thereof) in capital letters, in upper case. -- Wiktionary

...so I claim my pedantry points.  8^)

(I guess `/[A-Z][a-z]|[a-z][A-Z]/` would give you what you were thinking of?)