GilbertKrantz / UniPal

UniPal is a web application that uses AI to help students to find relevant information about universities in Indonesis (currently only available for Binus University).
https://unipal.online/
MIT License
2 stars 0 forks source link

(JS-D007) Bad usage of `RegExp#exec` and `String#match` #33

Open GilbertKrantz opened 2 months ago

GilbertKrantz commented 2 months ago

Description

RegExp#exec and String#match should only be used when we need to use the parts of a string that match a specific pattern:

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/GilbertKrantz/UniPal/issue/JS-D007/occurrences/