1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00

Document regular expression syntax used for filtering URLs. (#433)

* Document regular expression syntax used for filtering URLs.

* Typo: describes -> described

* Forget to add aggregator doc

---------

Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
This commit is contained in:
Sascha L. Teichmann 2023-08-17 17:02:10 +02:00 committed by GitHub
parent d49049c3af
commit 0b914f7e7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View file

@ -103,7 +103,7 @@ of this name. Otherwise the advisories are each stored in a folder named
by the year they are from.
You can ignore certain advisories while downloading by specifying a list
of regular expressions to match their URLs by using the `ignorepattern`
of regular expressions[^1] to match their URLs by using the `ignorepattern`
option.
E.g. `-i='.*white.*' -i='*.red.*'` will ignore files which URLs contain
@ -112,3 +112,5 @@ In the config file this has to be noted as:
```
ignorepattern = [".*white.*", ".*red.*"]
```
[^1]: Accepted syntax is described [here](https://github.com/google/re2/wiki/Syntax).