-
Notifications
You must be signed in to change notification settings - Fork 463
Question about \p script matching #351
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
Comments
The documentation is intended to be provided by Unicode. More specifically, the scripts available in this crate are generated directly from this file: http://www.unicode.org/Public/UNIDATA/Scripts.txt I don't know what the correspondence is between the link you provided and the |
Ok, thanks. It looks like Unicode explains the discrepancy on the help page for charts.:
|
@elirnm Well that seems... a little annoying. Maybe we should provide the full list in the regex docs somewhere if Unicode isn't going to make it more accessible themselves. |
Or at least provide a link to that scripts file so users can get some idea of what's supported? |
Hi!
|
@saona-raimundo While your comment is tangentially related, please don't bump issues closed years ago. If you have questions, you should open a new Discussion. If you click the "new issue" button, there is even an explicit category for "ask a question": I copied your second bullet point into a distinct question here and tried to answer it: #1144 I don't understand your first bullet point. Please open a new discussion question and fill out the question more. |
Uh oh!
There was an error while loading. Please reload this page.
The docs just say that
\p{Blah}
matches "Unicode character class (general category or script)." I took this to mean that it would match against anything listed under scripts on http://www.unicode.org/charts/, but there's a number of those that it doesn't recognize, including some ones I would have expected by default such asCJK
(orCJK Unified Ideographs
).Is there some documentation of which scripts are supported in
\p
matching?The text was updated successfully, but these errors were encountered: