You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.
Tried to use your IGmonitoring system for accounts with cyrillic/utf8
tags... and had some troubles - the system skips to auto-add any tags
which consist of non-latin characters.
Some research shows that problem is here:
vendor/jakim-pj/ig/src/Text.php
class Text
{
public static $usernamesPattern =
'/(?:@)([A-Za-z0-9_](?:(?:[A-Za-z0-9_]|(?:\.(?!\.))){0,28}(?:[A-Za-z0-9_]))?)/i';
public static $tagsPattern =
'/(?:#)([\p{L}0-9_](?:(?:[\p{L}0-9_]){0,28}(?:[\p{L}0-9_]))?)/i';
after change to
public static $tagsPattern = '/#(\w+)/u';
seems to work more correct...
The text was updated successfully, but these errors were encountered:
From email:
Tried to use your IGmonitoring system for accounts with cyrillic/utf8
tags... and had some troubles - the system skips to auto-add any tags
which consist of non-latin characters.
Some research shows that problem is here:
vendor/jakim-pj/ig/src/Text.php
after change to
public static $tagsPattern = '/#(\w+)/u';
seems to work more correct...
The text was updated successfully, but these errors were encountered: