Exodus-Privacy / Exodus-Privacy/etip

standardize regexps for code signatures

Open
#78 4 comments 0 reactions 1 assignee Claimed by @pnu-s View on GitHub
enhancement
Dominant language
Python
Stars
76
Forks
23
Avg merge
17d 6h
Merged PRs (30d)
2

Description

Right now the code signature regexp are basically all words separated by `.` Since `.` matches anything, this could lead to false positives, e.g. the regexp `com.here` would match `com.here` and `comehere`. Code signature printing methods generally use either `.` or `/` as the separator, so using `[/.]` would be the most accurate. Otherwise if there are other potential chars used as separators, using `\W` ("non-word chars") would be better than `.`

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.