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 domains are not supported #60

Open
xpolter opened this issue Apr 9, 2024 · 1 comment
Open

Cyrillic domains are not supported #60

xpolter opened this issue Apr 9, 2024 · 1 comment

Comments

@xpolter
Copy link

xpolter commented Apr 9, 2024

/// Regex to find all links in the text.
const regexLink =
r'((http|ftp|https)://)?([\w_-]+(?:(?:.[\w_-][a-zA-Z_][\w_-])+))([\w.,@?^=%&:/+#-]*[\w@?^=%&/+#-])?[^\.\s]';

/// Regex to find all links in the text.
const regexLink =
r'https?://(?:[А-Яа-яA-Za-z0-9-]+.)+[А-Яа-яA-Za-z]{2,}(?:/[^/#?]+)+.(?:[A-Za-z0-9]+(?:.[A-Za-z0-9]+))?(?:?[^#\s])?(?:#\S*)?'

@nc-jeni
Copy link

nc-jeni commented Apr 24, 2024

+1

Please apply this.

@demchenkoalex

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