WordsAPI

FREEMIUM
Verified
Par dpventures | Mise à jour il y a 25 jours | Data
Popularité

9.9 / 10

Latence

178ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

Regex: Don't include characters not working

Rapid account: Traciingu
traciingu
il y a 2 ans

The regex for the letterPattern parameter doesn’t work when you try to negate a range like “[^0-9]”. The results returned are like ones you’d received if no regex was passed in at all. Any help is appreciated

Rapid account: Traciingu
traciingu Commented il y a 2 ans

I don’t know how to use regex without flags lol if anyone is stuck on this, you can force the match to be the whole word instead of the global flag (i.e. “^[^0-9]+$”)

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires