added tests for the regex type, found a bug/performance issue, rather than iterate through the range which could be huge to select indexes iterate through the index for slices that are within range