eprintsug / DataCiteDoi

Registration of DOIs via DataCite
GNU General Public License v3.0
2 stars 5 forks source link

Include matched regex and DOI prefix in error message #34

Closed goetzk closed 6 years ago

goetzk commented 6 years ago

I attempted to include this in the original version of the changes but couldn't get it working until I stumbled upon https://wiki.eprints.org/w/index.php?title=My_First_Bazaar_Package and its example Hello.pm.

Message now includes the matched regex and doi prefix in the error message, bolded for readability.