berlinguyinca / spectra-hash

The splash, this is the reference documentation
http://splash.fiehnlab.ucdavis.edu
BSD 3-Clause "New" or "Revised" License
23 stars 11 forks source link

what is the latest regular expression? #37

Closed egonw closed 6 years ago

egonw commented 6 years ago

I picked up the "splash\d[A-Z-a-z0-9]-[A-Za-z0-9]+-[A-Za-z0-9]+" regular expression somewhere, not noting this is the old syntax... where can I find the latest regex?

ssmehta commented 6 years ago

Here is the regex I'm using in MoNA, it's a bit more strict:

^(splash[0-9]{2}-[a-z0-9]{4}-[0-9]{10}-[a-z0-9]{20})$