Skip to content

Commit

Permalink
Add regex example to skip multiple validation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Sep 16, 2023
1 parent 432fec0 commit 6ee9a42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ Examples:
- `html-validator docs/*.html '--ignore=/^Duplicate ID/'`<br>
Use a RegEx (regular expression) to skip all validation messages that start with "Duplicate ID".

- `html-validator docs '--ignore=/^Duplicate ID|^Section lacks|^Element .blockquote. not allowed/'`<br>
Use a RegEx with "or" operations to skip multiple validation messages.

- `html-validator --quiet`<br>
Suppress "pass" status messages.

Expand Down

0 comments on commit 6ee9a42

Please sign in to comment.