XLSForm / pyxform

A Python package to create XForms for ODK Collect.
BSD 2-Clause "Simplified" License
77 stars 134 forks source link

Prevent instance name conflicts with search and pulldata #695

Closed lognaturel closed 4 months ago

lognaturel commented 4 months ago

Closes #694

Why is this the best possible solution? Were any other approaches considered?

It's easy to follow and brings back some logic that existed previously. I think pulling the regex into a function in utils makes usage easier to understand.

What are the regression risks?

This is a response to an unexpected regression. It feels very low-risk to me. Any possible risk is limited to the search() functionality.

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No.

Before submitting this PR, please make sure you have: