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

lean: fix the name regex #2614

Merged
merged 4 commits into from
Dec 30, 2023
Merged

Conversation

eric-wieser
Copy link
Contributor

This corrects it to include the full range of unicode characters that are legal.

This also takes the opportunity to add support for highlighting `name and ``checked_name literals.

This corrects it to include the full range of unicode characters that are legal

variables {ι A B : Type*} (𝒜 : ι → A) (ℬ : ι → B)

#check `𝒜.a
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is mis-highlighted by github, the .a is part of the symbol too!

@Anteru Anteru added changelog-update Items which need to get mentioned in the changelog A-lexing area: changes to individual lexers labels Dec 30, 2023
@Anteru
Copy link
Collaborator

Anteru commented Dec 30, 2023

Merged, thanks. My Unicode skills aren't good enough to understand whether the ranges map but I presume you know what you're doing there :)

@Anteru Anteru merged commit 4269c7e into pygments:master Dec 30, 2023
13 checks passed
@Anteru Anteru added this to the 2.18.0 milestone Dec 30, 2023
@Anteru Anteru removed the changelog-update Items which need to get mentioned in the changelog label Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lexing area: changes to individual lexers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants