It's probably best to avoid hardcoding the other numbers.
Also, much escaping could be avoided by using an alternate delimiter.
m{\s+Input\s+queue:\s+\d+/\d+/(\d+)/\d+\s+\(size/max/drops/flushes\); +\s+Total\s+output drops:\s+(\d+)/
In reply to Re^2: RegEx & Approach Question
by ikegami
in thread RegEx & Approach Question
by ewhitt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |