I feel like the option name should be standardized to PATTERN since don't expect an actual Ruby Regexp object.  You have to pass '.*' to the datastore, i.e. the pattern, not /.*/, the actual REGEX.  This would also make it clear that Regexp modifiers like //i or case-insensitive and //x for multi-line with comments won't work.