Add PGP public keys for #84#105
Conversation
|
Fixed most of the items, sorry for the inconveniences, thanks for the patience |
|
I fixed merge conflicts for you but tests are failing as PGP regex is struggling with match being over multiple lines. Also I noticed that you named both tests the same in |
|
To fix the regex issue, I came up with this: It works over multiple lines and only some data at the start is accepted instead of anything. |
|
While my regex works well on a regex website, it does not work in pyWhat at all. Sadly we currently cannot match to multiline PGP key or any other multiline text. :( The issue is that pyWhat is reading and testing each line separately. To get it to work we would have to change |
How do we fix this? |
Well seems like I was wrong. If we treat whole file contents as one thing instead of creating a list of lines, it doesn't break boundaries and multiline works just fine. This is because it inserts I have pushed the changes now. Something to be aware of is that matches are no longer sorted as they appear in the file but by the regex order in our database, so technically matches are sorted by rarity. |
|
Merge conflicts :( |
I think this should be enough to handled #84
#84