Not having the need nor tested it, but the manual states regex is used according to http://man7.org/linux/man-pages/man7/regex.7.html
Best Tino Am 8. Januar 2018 um 22:58:26, Sebastian Arcus ([email protected](mailto:[email protected])) schrieb: > Hello list. I might be missing something really obvious, but is it > possible to do case insensitive matching with regex's in Monit? There > doesn't seem to be anything about it in the docs, and bizarrely nothing > relevant when searching in Google (to do strictly with regex's in > Monit). I've tried something like: > > IF MATCH "(?i)banned|blacklist" THEN ALERT > > or > > IF MATCH "/banned|blacklist/?i" THEN ALERT > > Monit doesn't seem to like either. I've tried various ways suggested > online for Javascript, Python etc. regular expressions - but so far I > haven't been able to figure the right syntax. Any hints please? > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
