Added support for distinguishing between nested regex patterns (i.e. an emoticon inside of a URL would not be marked as an emoticon)