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

Attributes should allow letters from any Unicode script, not just Basic Latin #1665

Closed
mojavelinux opened this issue Jan 7, 2016 · 2 comments
Assignees
Milestone

Comments

@mojavelinux
Copy link
Member

Attributes are currently restricted to basic latin word characters ([A-Za-z0-9_]). This should be extended to recognize letters in any Unicode script.

This can be accomplished by changing the match from \w to \p{Word}. Note that this is a departure from AsciiDoc Python.

@mojavelinux mojavelinux self-assigned this Jan 7, 2016
@mojavelinux mojavelinux added this to the v1.6.0 milestone Jan 7, 2016
@shahryareiv
Copy link
Contributor

Is there a reason why not be able to use any unicode character except a forbidden list? I have no idea if \p{Word} implementation is not different in different languages. But we are some how sure that for example [^-\[\]:] works in the same way.

@mojavelinux
Copy link
Member Author

This is a duplicate of #2376, which is now resolved (as of 1.5.7).

@mojavelinux mojavelinux modified the milestones: v1.6.0, v1.5.7 Apr 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants