Changed the way interval option is parsed. Now there is a guard against
negative and too large values.
Some tests needed to be updated to work with this changes.
Added parser tests for negative value and decimal value.
Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>
imonitor can now use regular expressions (POSIX ERE flavour) to match
the pattern to the test output.
Corresponding tests and readme updates are also included in this commit.
Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>
Reworked how string_match and string_not_match options are handled
internally. Also added beginning of support for regex matching.
Signed-off-by: Matija Amidzic <matija.amidzic@sartura.hr>