Open envico801 opened 3 months ago
An improved version of the regex could be this one:
const OBS_TAG_REGEXP = /#([\p{L}\p{N}\p{Emoji}\p{M}_/-]+)/gu;
Allowing to recognise characters from multiple languages and some others from the unicode family.
Closes #551
Possible fix to the regex of
OBS_TAG_REGEXP
With the new changes, it now detects chinese characters correctly.