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

PowerShell: lex ':' #1758

Merged
merged 3 commits into from Mar 28, 2021
Merged

Conversation

amitkummer
Copy link
Contributor

This fixes #1682.

This won't match : as Text if it's inside a path, but other shell lexers don't do that as well, so I think it's a reasonable fix.

Remove '::' matching, since we can now match it with ':' twice
and formatting will be the same.
@birkenfeld
Copy link
Member

Thanks!

@birkenfeld birkenfeld merged commit 74be9c0 into pygments:master Mar 28, 2021
@Anteru Anteru added this to the 2.9 milestone Mar 28, 2021
@Anteru Anteru added the changelog-update Items which need to get mentioned in the changelog label Mar 28, 2021
@Anteru Anteru removed the changelog-update Items which need to get mentioned in the changelog label Apr 4, 2021
albertziegenhagel added a commit to albertziegenhagel/django-testing-framework that referenced this pull request Feb 14, 2022
pygments <= 2.8 does not handle colons in the URLs correctly. See pygments/pygments#1758
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.

PowerShell ErrorToken: :
3 participants