Skip to content

Commit f763b0d

Browse files
author
XieBiao
committed
fix escape
1 parent ddb4e15 commit f763b0d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/test.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55

66
$analyze = new AnalyzeRedis('127.0.0.1', 6379, '123456');
77

8-
//Scan the keys which can be split by '#' '*' '|'
9-
$analyze->start(['#', '*', '|']);
8+
//Scan the keys which can be split by '#' ':'
9+
//special pattern characters need to escape by '\'
10+
$analyze->start(['#', ':']);
1011

1112
//Find the csv file in default target folder: ./reports
1213
//CSV file name format: redis-analysis-{host}-{port}-{db}.csv

0 commit comments

Comments
 (0)