Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to scan and match a pattern using regex in redis?

Tags:

redis

Say that I want to scan a set in redis using the SCAN function. Is it possible to pass a regex to MATCH with?

like image 321
doctopus Avatar asked Nov 02 '25 04:11

doctopus


1 Answers

No, MATCH is a pattern with wildcard support only.

like image 92
Matías Fidemraizer Avatar answered Nov 03 '25 20:11

Matías Fidemraizer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!