fiveplusone / turkopticon-rails-app

The Rails application for Turkopticon
GNU Affero General Public License v3.0
4 stars 5 forks source link

Long all-caps requester names typed into search box lead to requester ID search #48

Open fiveplusone opened 10 years ago

fiveplusone commented 10 years ago

e.g., no results are returned for "ACQUISITION", as it matches the regex for requester IDs, but results are returned for "acquisition".

fiveplusone commented 10 years ago

I think the answer is to check for at least one number in the string, as described here.