aboutcode-org / aboutcode-org/scancode-toolkit

Copyright statement with a year range ending in the word "NOW" not detected at all

Open
#5,220 7 comments 0 reactions 1 assignee Claimed by @hesa View on GitHub
bug copyright scan
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

### Description

A copyright statement like

```
Copyright (c) 2013-NOW Jinzhu
```

is not detected at all. If the "-NOW" part is removed from the year range, the copyright is detected.

### How To Reproduce

Run

```shell
LC_ALL=en_US.UTF-8 scancode --copyright --json-pp - LICENSE
```

on https://github.com/jinzhu/configor/blob/f7a0fc7c9fc697269b1749c1cc472d49baa8d33c/LICENSE#L3.

### System configuration

* What OS are you running on? Fedora Linux
* What version of scancode-toolkit was used to generate the scan file? 32.5.0
* What installation method was used to install/run scancode? RPM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.