Expand RegexCheck section.

- Add the warningregex parameter to the RegexCheck section.
- Add a note that the REGEX shouldn't be quoted.
- Change the quote style to double quotes to match the rest of the document.
This commit is contained in:
Sitsofe Wheeler 2015-02-11 10:19:02 +00:00
parent 27937e6f83
commit ed683bc4c0

View file

@ -457,10 +457,11 @@ Needs GeoIP or pygeoip and a local country or city lookup DB installed.
Define a regular expression which prints a warning if it matches
any content of the checked link. This applies only to valid pages,
so we can get their content.
.TP
\fBwarningregex=\fP\fIREGEX\fP
Use this to check for pages that contain some form of error
message, for example 'This page has moved' or 'Oracle
Application error'.
message, for example "This page has moved" or "Oracle
Application error". \fIREGEX\fP should be unquoted.
Note that multiple values can be combined in the regular expression,
for example "(This page has moved|Oracle Application error)".