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

Enabling callout names with non-English letters #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TheBooker66
Copy link

This proposed change modified the regex from ^[a-z\\-]{1,}$ to ^[\p{L}\p{M}\\-]+$, which matches any letter, ideograph, letter with accent (etc.)1 and backslashes and dashes (as per the original), instead of only English (Latin) letters, backslashes and dashes. I also modified {1,} to + just for clarity.

This pull request stems from issue #17, and I hope it fixes it.

I'll admit this isn't tested in Obsidian (I have tested the Regex of course), as I haven't developed an Obsidian plugin in the past and have no idea how to do so, but it's coded.

Footnotes

  1. Source

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

Successfully merging this pull request may close these issues.

1 participant