Chemical-Curation / chemcurator_django

Backend services for chemical curation
https://api.chemreg.epa.gov
MIT License
1 stars 0 forks source link

151 substance name regex #215

Closed michael-barbour closed 3 years ago

michael-barbour commented 3 years ago

closes #151

I've added the regex code to these model attributes with an "accept everything" .* re string. This should be easy to change in the future should we ever need to.

Tests are also set up but currently only test that a valid string (any string) is accepted.

I've replaced the .* with valid regex from the ticket.