Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make json schema and python regex the same #92

Open
manycoding opened this issue May 17, 2019 · 1 comment
Open

Make json schema and python regex the same #92

manycoding opened this issue May 17, 2019 · 1 comment
Labels
good first issue Good for newcomers Type: Feature New feature or request

Comments

@manycoding
Copy link
Contributor

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 manycoding added Type: Feature New feature or request good first issue Good for newcomers labels May 17, 2019
@manycoding
Copy link
Contributor Author

Alternatively, does yaml solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Type: Feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant