scrapinghub/arche

Make json schema and python regex the same

オープン

#92 opened on 2019/05/17

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Python (17 件のフォーク)auto 404
Type: Featuregood first issue

Repository metrics

Stars
 (47 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド