Fix greedy regexp matching

Closes opengovernment/askthem-admin#33