regular expression doesn't match #18

Open
rookie7799 opened this Issue Oct 24, 2012 · 3 comments

Comments

Projects
None yet
2 participants

--command json -k "tw_id:111.*" dump.rdb

matches everything including:
"tw_id:524869205:username"

it should be matching:
"tw_id:11123456:username"
"tw_id:111:username"
"tw_id:111999:username"
etc

No?

Owner

sripathikrishnan commented Oct 29, 2012

@rookie7799 Thanks for stopping by and reporting.

I can't reproduce this issue. Can you double check and confirm?

tried it again, the output has everything that's stored in redis

I think i found the problem: it's when you add -f
the output file contains everything.
If you leave it out - it's fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment