Skip to content

Conversation

@pjkaufman
Copy link
Collaborator

Fixes #1278

There was an issue where I was matching on word boundaries for regex for remove-consecutive-list-markers. However it seems that non-Latin languages do not have their characters included as a part of word boundaries. So instead I am going to a unicode letter. Hopefully that fixes the issue moving forward.

Changes Made:

  • Added a UT for the scenario in question
  • Swap from matching on word boundary for matching on unicode letter

@pjkaufman pjkaufman self-assigned this Jun 11, 2025
@pjkaufman pjkaufman added the bug Something isn't working label Jun 11, 2025
@pjkaufman pjkaufman merged commit 9c74ec1 into platers:master Jun 11, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

Bug: remove-consecutive-list-markers not working with non-Latin languages

1 participant