WordsAPI

פרמיום
Verified
על ידי dpventures | מְעוּדכָּן 25日前 | Data
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

178ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

Regex: Don't include characters not working

Rapid account: Traciingu
traciingu
2年前

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 2年前

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]+$”)

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות