Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW] Support regex filtering #1216

Open
hpatro opened this issue Oct 23, 2024 · 0 comments
Open

[NEW] Support regex filtering #1216

hpatro opened this issue Oct 23, 2024 · 0 comments

Comments

@hpatro
Copy link
Collaborator

hpatro commented Oct 23, 2024

The problem/use-case that the feature addresses

Support regex filtering for the API(s) which currently support glob based matching. This will provide user to filter out keys/channels based on the requirements and not be limited by the glob support.

Description of the feature

Introduce new commands to support regex on popular commands RSCAN / RHSCAN / RSUBSCRIBE

or

Introduce a server level configuration filter-pattern-behavior: glob|regex to consider the pattern provided as part of SCAN / HSCAN / PSUBSCRIBE to be treated as glob or regex.

Alternatives you've considered

Use LUA scripting

Additional information

https://stackoverflow.com/questions/50373332/redis-glob-like-pattern-with-substring-excluded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant