scrapinghub/arche

Make json schema and python regex the same

Offen

#92 geöffnet am 17.05.2019

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Python (17 Forks)auto 404
Type: Featuregood first issue

Repository-Metriken

Stars
 (47 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

There is some difference between schemas in files and dict. In particular, all \ in files should be double escaped, meaning we have this "^https?://www\\.realtor\\.ca/propertyDetails\\.aspx\\?PropertyId=[0-9]+$" While python jsons can eat "^https?://www.realtor.ca/propertyDetails.aspx?PropertyId=[0-9]+$` To promote healthy psyche, I think it makes sense to find a way if it can be consistent.

Contributor Guide