basically worked through the code to implement regular expressions. searches for keywords in the text and replaces them with objects that call alerts that hold definitions