arche icon indicating copy to clipboard operation
arche copied to clipboard

Make json schema and python regex the same

Open manycoding opened this issue 5 years ago • 1 comments

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.

manycoding avatar May 17 '19 17:05 manycoding

Alternatively, does yaml solve this problem?

manycoding avatar May 28 '19 16:05 manycoding