scrapinghub/arche

Make json schema and python regex the same

開放

#92 建立於 2019年5月17日

 (1 則留言) (0 個反應) (0 位負責人)Python (17 個分叉)auto 404
Type: Featuregood first issue

倉庫指標

星標
 (47 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南