Skip to content

Fix: Error when creating index from schema with Uri #206

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Zantier
Copy link

@Zantier Zantier commented Apr 9, 2025

Fixes #182

The regex for Uris and Emails had problems:

  • Included ^ and $, but it doesn't make sense to match the start and end of line when the Uris and Emails can be in the middle of a JSON file.
  • Was missing start and end quotes. They are stored as strings within JSON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

json_schema::regex_from_str | Index raised panick "DfaHasNosStartState" when using uri format (Rust)
1 participant