Originally on 2010-10-23
On ß release we had a bug in date parsing for the above string, because the regexps were matching the date term as
year:2010 and title:dog
For the sake of rollout, we fixed it by catching exceptions thrown by dateutil and simply using the user's input date string instead.
This is a ticket to go back and correct the regex so it never gets too much stuff.
This is complete in my branch 323-websearch_date_regexps_problematic; all of the unit tests pass (including the new ones) and the regression tests are no worse than they were.
Originally by Joe Blaylock firstname.lastname@example.org on 2010-11-12
#CommitTicketReference repository="" revision="dc864c5b8c2205b3e43e14fb87beadc5743e5411"
WebSearch: SPIRES syntax date robustness fix
- Less buggy regular expression for matching dates in SPIRES syntax converter,
and additional unit tests.