This fixed a broken regex. My $info["db<number>"] variable had the following format: keys=1,expires=0,avg_ttl=0. The $ asserted that expires was at the end of the string when, in my case, it was not. Not sure if this is due to different redis configs / versions.
Fix for Issue #26.
This fixed a broken regex. My
$info["db<number>"]
variable had the following format:keys=1,expires=0,avg_ttl=0
. The$
asserted thatexpires
was at the end of the string when, in my case, it was not. Not sure if this is due to different redis configs / versions.