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

Fix Telugu regex #3

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Fix Telugu regex #3

wants to merge 2 commits into from

Conversation

otacke
Copy link
Contributor

@otacke otacke commented Aug 3, 2022

When merged in, will fix a bug in the Telugu regular expression that may interpret two consecutive Telugu consonants as one single character although they should be counted as two.

The bug was a missing closing square bracket in the regular expression that did not interfere with identifying all single Telugu characters as such and thus slipped the test.

@Richienb
Copy link
Owner

Richienb commented Aug 3, 2022

Could you add a test?

@otacke
Copy link
Contributor Author

otacke commented Aug 3, 2022

Sure, will do.

@otacke
Copy link
Contributor Author

otacke commented Aug 4, 2022

I have added a test scenario, but I don't think it is possible for me (not speaking Telugu) to cover all relevant case. I hope that the module will be used in a real world scenario soon, so if anything pops up then, I'll gladly fix it and add the respective tests.

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.

3 participants