#regex #redis #regular #expression

redis_regular_expression_module

Simple rust redis module to use regular expression

10 releases

0.4.1 Jul 12, 2021
0.4.0 Mar 5, 2020
0.3.0 Feb 25, 2020
0.2.4 Feb 19, 2020
0.1.1 Feb 17, 2020

#1267 in Database interfaces

28 downloads per month

Apache-2.0

9KB
173 lines

Simple redis regular expression module writing in Rust lang

Usage

  1. Build module cargo build --release
  2. Run redis server redis-server --loadmodule ./target/release/librefid_regular_expression.so
  3. Enter in redis cli run command REG pattern_for_search see result

Commands

RGKEYS

Find all keys by given pattern

RGVALUE

Find all values by given pattern

RGDELETE

Find all values by given pattern and delete them

Dependencies

~4–7.5MB
~140K SLoC