diff options
Diffstat (limited to 'testdata/loadConfig/config_exists/spdxconv.cfg')
| -rw-r--r-- | testdata/loadConfig/config_exists/spdxconv.cfg | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testdata/loadConfig/config_exists/spdxconv.cfg b/testdata/loadConfig/config_exists/spdxconv.cfg new file mode 100644 index 0000000..e4edf89 --- /dev/null +++ b/testdata/loadConfig/config_exists/spdxconv.cfg @@ -0,0 +1,14 @@ +[default] +license_identifier = GPL-3.0-only +file_copyright_text = Author <author@email.info> +max_line_match = 10 + +[match-license] +pattern = "^(//+|#+)*\\s+(.*)governed by a BSD-style(.*)$" +license_identifier = BSD-3-Clause +delete_match = true +delete_line_pattern = "^(//+|#+)*\\s*$" +delete_line_pattern = "^(//+|#+)*\\s+license that(.*)$" + +[match-copyright] +pattern = "^(//+|#+)*\\s+Copyright\\s+(?<year>\\d{4},?\\s+(?<holder>.*)\\s+<*(?<email>.*)>.*$" |
