Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cyrillic symbols support #36

Open
cy6eria opened this issue Aug 25, 2017 · 3 comments
Open

Cyrillic symbols support #36

cy6eria opened this issue Aug 25, 2017 · 3 comments

Comments

@cy6eria
Copy link

cy6eria commented Aug 25, 2017

Hey, I want to add cyrillic symbols support, but I have some questions.

  • Is it needed?
  • How should I implement it?

Now I use custom formatCharacters for that and I have two variants.

  • 'Я' - cyrillic and latin symbols,
  • 'Ё' - only cyrillic symbols.

I think it would be nice to add cyrillic symbols to a and A patterns. Thats very easy.

For example, I use this pattern /[А-Яа-яЁёA-Za-z]/. Guys from another cultures can add some additional symbols in it.

@yuritoledo
Copy link

hello @cy6eria
you use pattern={/[А-Яа-яЁёA-Za-z]/} ?
(if react)

@cy6eria
Copy link
Author

cy6eria commented Jul 26, 2018

@yuritoledo hello. Yes, /[А-Яа-яЁёA-Za-z]/ for cyrillic and latin. /[А-Яа-яЁё]/ only for cyrillic.

@yuritoledo
Copy link

@cy6eria thank you :)

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

No branches or pull requests

2 participants