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

Cannot compile \p{gc=Unassigned} #2

Open
nihei9 opened this issue Dec 17, 2021 · 0 comments
Open

Cannot compile \p{gc=Unassigned} #2

nihei9 opened this issue Dec 17, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@nihei9
Copy link
Owner

nihei9 commented Dec 17, 2021

maleeni v0.6.0 cannot compile \p{gc=Unassigned}. Specifically, I made the following file:

{
    "name": "test",
    "entries": [
        {
            "kind": "unassigned",
            "pattern": "\\p{gc=Unassigned}"
        }
    ]
}

Then I got the following error:

$ maleeni compile test.json
failed to compile in default mode: surrogate code points U+D800..U+DFFF are not allowed in UTF-8: U+D801..U+DB7E

Regardless of whether gc=Unassigned properties are practical or not, the expectation is that no errors will occur.

@nihei9 nihei9 added the bug Something isn't working label Dec 17, 2021
@nihei9 nihei9 changed the title Cannot compile \p{gc=Unassigned} Cannot compile \p{gc=Unassigned} Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant