datalad / datalad-gooey

A graphical user interface for DataLad (datalad.org)
https://docs.datalad.org/projects/gooey
Other
4 stars 6 forks source link

Enhance `EnsureStr` with regex matching #293

Closed mih closed 1 year ago

mih commented 1 year ago

DataLad takes str arguments in many places that have known syntax:

In the -core package alone, 106 EnsureStr constraints are defined. Enhancing EnsureStr with the ability to perform more precise validation would have a substantial impact on error condition prevention, and overall UX.