CottageLabs / idfind

An identifier identifier
1 stars 0 forks source link

invalid regexes #40

Closed emanuil-tolev closed 12 years ago

emanuil-tolev commented 12 years ago

When IDFind tries to execute invalid regexes when trying to identify a string, a Python exception will be raised. That's not handled. It should be.

2 things:

  1. just skip the test if the regex is invalid, maybe record some info in the index wrt which regex failed with which Python version
  2. tell the user their regex cannot be executed, maybe don't let them submit the test until they fix that