Now optionally matching of tags can be performed from the middle of the words.