Obsidian_to_Anki
Obsidian_to_Anki copied to clipboard
fix: correction of obsidian tags
Closes #551
Possible fix to the regex of OBS_TAG_REGEXP
With the new changes, it now detects chinese characters correctly.
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.