added a regex query method and docstring

This pull request adds the regex query operator to the sdk. New docs need to be generated.