mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-18 05:11:00 +00:00
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:
parent
27937e6f83
commit
ed683bc4c0
1 changed files with 4 additions and 3 deletions
|
|
@ -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)".
|
||||
|
|
|
|||
Loading…
Reference in a new issue