Add 2i term regex filter

@russelldb This will be needed to exercise the 1.4 version of secondary_index_tests after merging the changes for the 2i sort and term regex features.