Examining the use of regular expressions in the word-count script