aboutcode-org / aboutcode-org/scancode-toolkit
Consider stripping RTF from tags
- Ngôn ngữ chính
- Python
- Star
- 2.6k
- Fork
- 791
- Merge trung bình
- 1 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 5
Mô tả
### 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/
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.