Revert "quick fix IP regexes. see #62"

This reverts commit c2723d3829.
fix #62
This commit is contained in:
ppom
2024-01-04 12:00:00 +01:00
parent c2723d3829
commit 8874454a0f
4 changed files with 6 additions and 4 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: {