Threadsearch Regex Feature

Tweaked things a little to use regular expressions rather than plain text comparison. Also, rather than having all the post text converted to lowercase in one big operation, I moved it into the loop through the posts so that we don't have to perform more work than is needed.