Yalies / api

👥 The best directory of Yale personnel, with a clean API to match. Used by 70% of undergrads!
https://yalies.io
12 stars 23 forks source link

Query exact if netID or UPI is typed #255

Closed ericyoondotcom closed 7 months ago

ericyoondotcom commented 7 months ago

Description

Fixes #235

An exact search for UPI and NetID is performed when a regex expression detects one of those values has been searched.

The behavior introduced is a strict improvement from the current behavior, since names do not contain numbers, and both regex patterns require the presence of numbers to match.

Checklist