quickfix regex, avoid mismatches with urls