Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

use xregexp to handle unicode alphabet #255

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aksonov
Copy link

@aksonov aksonov commented Feb 28, 2018

Javascript RexExp doesn't handle unicode characters well - it doesn't contain 'Letter' unicode category. This PR solves it, now you can use '^//pL+$' to accept only unicode letters.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant