aboutcode-org / aboutcode-org/scancode-toolkit

Consider stripping RTF from tags

Offen
#1,548 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement license scan nice to have
Vorherrschende Sprache
Python
Sterne
2.6k
Forks
791
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
5

Beschreibung

### Description
Some RTF file can contain licenses and copyrights and detection is less accurate in these cases on raw binaries. https://pypi.org/project/striprtf/ could help strip RTF.

- @joshy https://github.com/joshy/striprtf license is a BSD, but
- it was derived from @gilsondev https://gist.github.com/gilsondev/7c1d2d753ddb522e7bc22511cfb08676#gistcomment-2905474
- which was derived from @MizardX SO post at https://stackoverflow.com/questions/188545/regular-expression-for-extracting-text-from-an-rtf-string/188877#188877

SO standard CC-BY-SA license would apply unless @MizardX @gilsondev agree to something else: https://stackoverflow.blog/2009/06/25/attribution-required/

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.