aboutcode-org / aboutcode-org/scancode-toolkit

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

Abierto
#5,220 7 comentarios 0 reacciones 1 asignado Reclamado por @hesa Ver en GitHub
bug copyright scan
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

### 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.