Skip to content

Conversation

pwnfo
Copy link

@pwnfo pwnfo commented Aug 20, 2025

Type of changes

  • Bug fix
  • New feature
  • Documentation / docstrings
  • Tests
  • Other

Checklist

  • I've run the latest black with default args on new code.
  • I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
  • I've added tests for new code.
  • I accept that @willmcgugan may be pedantic in the code review.

Description

This PR fixes a bug where the decimal point in numbers (e.g., 3.14mb) was incorrectly highlighted.

bug before PR

Now, decimal numbers followed by letters will be completely ignored, just like integers.

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.

1 participant