-
-
Notifications
You must be signed in to change notification settings - Fork 43
Build a mask for accented characters #262
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the Feature
Be able to declare an accent letter as part of the mask.
Possible Implementations
implementing another regex at ./toPart.js?
else if (
...
(output[index] === ALPHANUM &&
values[charCounter].match(/[0-9a-zA-Z]/)) ||
(output[index] === ACCENTALPHANUM && values[charCounter].match(/[\wÀ-ÖØ-öø-ÿ0-9]/) ||
values[charCounter].match(/[0-9a-zA-Z]/)) ||
(output[index] === HOURS && values[charCounter].match(/[0-23]/)) ||
...
Related Issues
Accented characters are very common on latin languages. Without this feature, support for masks containing latin words(like first names, last names, and more) is not possible to achieve.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request