quick fix IP regexes. see #62

This commit is contained in:
ppom
2024-01-04 12:00:00 +01:00
parent 9b766aa2b8
commit c2723d3829
4 changed files with 4 additions and 6 deletions

View File

@ -22,7 +22,7 @@
// cmd: ['sh', '-c', "echo 1 2 3 4 5 1 2 3 4 5 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 | tr ' ' '\n' | while read i; do sleep 2; echo found $(($i % 10)); done"],
filters: {
findIP: {
regex: ['^found <num>$'],
regex: ['^found [ <num>$'],
retry: 3,
retryperiod: '30s',
actions: {