aboutcode-org / aboutcode-org/scancode-toolkit

Newer tlds not supported

オープン
#5,057 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug email and url scan
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

### Description

The current e-mail regular expression cannot catch the latest (and greatest?) TLDs. There are many these days:

https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains

but scancode limits it to something either 2, 3 or 4 characters:

```
def emails_regex():
return re.compile('\\b[A-Z0-9._%-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}\\b', re.IGNORECASE)
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。